- Grob *col = 0;
- Spanner *span = dynamic_cast<Spanner *> (me);
- if (!span)
- col = dynamic_cast<Item *> (me)->get_column ();
- else
- {
- Grob *h = head (me, d);
- if (!h)
- h = span->get_bound (d);
-
- col = dynamic_cast<Item *> (h)->get_column ();
- }
- return Paper_column::get_rank (col);