![]() | InDesign SDK 20.5 |
#include <ITableLayout.h>
Public Types | |
| enum | Damage { rdt_none = 0, rdt_inval = 1, rdt_geometry_noinval = 2, rdt_geometry = 3 } |
Public Member Functions | |
| virtual bool16 | operator== (const Row &other) const =0 |
| virtual bool16 | operator!= (const Row &other) const =0 |
| virtual GridCoord | GetModelRowNum () const =0 |
| Returns the underlying Model Row this Layout Row maps to and an indication in regards to whether it is the first and/or last Layout Row for the Model Row. Do not assume that all Parcels on this Row are also part of this Model Row. | |
| virtual bool16 | GetIsBodyRow () const =0 |
| virtual bool16 | GetIsFirstForRow () const =0 |
| virtual bool16 | GetIsLastForRow () const =0 |
| virtual UID | GetTableFrameUID () const =0 |
| virtual Damage | GetDamage () const =0 |
| virtual bool16 | GetIsKeepsDamaged () const =0 |
| virtual PMPoint | GetPathXYOffset () const =0 |
| virtual PMReal | GetPathHeight () const =0 |
| virtual PMRect | GetInkBounds () const =0 |
| virtual int32 | GetParcelCount () const =0 |
| virtual Parcel * | GetNthParcel (int32 n) const =0 |
| virtual int32 | GetParcelColIndex (GridCoord col) const =0 |
| virtual bool16 | GetAreAnyParcelsDamaged () const =0 |
| virtual uint32 | GetEffectiveSubHeaderLevel () const =0 |
Layout Rows represent the composed state of Model rows. There is one or more for each Model row. Each Row is mapped to one and only one Frame regardless of the damage state. However, when damaged the the location of the Row relative to the containing Frame becomes unknown.
Each Row contains information for each Parcels that is owned by a TableCell which is anchored (or vertically merged through) the ModelRow. The implementation will take responsibility for ensuring that only those Parcels that map to column containing anchored Cells appear in the Row.
| pure virtual |
Returns kTrue if any Parcels on this Row are damaged in any way.
| pure virtual |
Rows are damaged when the location specified by the TableFrameUID or PathXYOffset is no longer valid. This might occur when a Row above has been moved down which requires that the Row below it must be reposition. In this regard this behavior is analogous to the geometry damage of a WaxLine. Note that this damage state is independent of the damage state of the Parcels on the Row.
| pure virtual |
Returns the Effective SubHeadLevel (0-3) for the ModelRow, 0 equals none (which will be the value also returned for header and footer Rows).
| pure virtual |
Ink Bounds are relative to the Row Path bounds.
| pure virtual |
| pure virtual |
If this Row is a Body Row, and GetDamage() returns rdt_geometry_noinval or rdt_geometry and GetIsFirstForRow() returns kTrue then this method will return kTrue if the Row is Keeps damaged, kFalse otherwise.
| pure virtual |
| pure virtual |
| pure virtual |
Rows are mapped to a single Frame.
| pure virtual |
comparison operators