![]() | InDesign SDK 20.5 |
#include <ITableFrame.h>

Classes | |
| class | HitTestData |
| struct | HitTestPolicyCallback |
Public Types | |
| enum | { kDefaultIID = IID_ITABLEFRAME } |
| enum | ECellArea { kParcel, kContent = kParcel, kInnerStroke, kInnerFrame = kInnerStroke, kPath, kFrame = kPath, kOuterStroke, kOuterFrame = kOuterStroke } |
Public Member Functions | |
| virtual ITableModel * | QueryModel () const =0 |
| virtual UIDRef | GetModelRef () const =0 |
| virtual void | SetModel (const ITableModel *table)=0 |
| virtual bool16 | IsFirstFrame (void) const =0 |
| virtual bool16 | IsValid () const =0 |
| virtual PMRect | GetStrokeBoundingBox () const =0 |
| virtual PMRect | GetPathBoundingBox () const =0 |
| virtual PMRect | GetInkBounds () const =0 |
| virtual bool16 | Contains (const CellParcelAddr &element) const =0 |
| virtual UIDRef | GetFrameRef () const =0 |
| virtual ITextFrameColumn * | QueryFrame () const =0 |
| virtual ParcelKey | GetParcelKey () const =0 |
| virtual IParcel * | QueryParcel () const =0 |
| virtual PMMatrix | GetToParcelMatrix () const =0 |
| virtual PMMatrix | GetToFrameMatrix () const =0 |
| virtual PMMatrix | GetToPasteboardMatrix () const =0 |
| virtual PMRect | GetCellBounds (const GridAddress &anchor, ECellArea area=kContent) const =0 |
| virtual HitTestData * | HitTest (const PMPoint &pt, HitTestPolicyCallback *framePolicy, HitTestPolicyCallback *cellPolicy) const =0 |
| virtual bool16 | IsRowTopClosed (const ITableLayout::Row &row) const =0 |
| virtual bool16 | IsRowBottomClosed (const ITableLayout::Row &row) const =0 |
| virtual const ColRange | GetColumns () const =0 |
| virtual bool16 | ContainsColumn (const int32 col) const =0 |
| virtual bool16 | ContainsRow (const ITableLayout::Row &row) const =0 |
| virtual bool16 | ContainsModelRow (const GridCoord row) const =0 |
| virtual bool16 | IntersectsModelArea (const GridArea &area) const =0 |
| virtual bool16 | ContainsModelArea (const GridArea &area) const =0 |
| virtual const int32 | GetNumRowsInFrame () const =0 |
| virtual const GridCoord | GetFrameTopRowModelCoord () const =0 |
| virtual const GridCoord | GetFrameBottomRowModelCoord () const =0 |
| virtual bool16 | GetAreRowsInSameRange (GridCoord mR1, GridCoord mR2) const =0 |
| virtual K2Vector< GridArea > * | CreateSectionAreasIntersectingFrame (const GridArea &area) const =0 |
| virtual ParcelKey | GetParcelInFrame (const GridAddress anchor) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Iteration | |
| typedef CellParcelIterator < ITableFrame > | const_parcel_iterator |
| typedef ITableLayout::const_row_iterator | const_frame_row_iterator |
| virtual const_parcel_iterator | begin_parcel_iter () const =0 |
| virtual const_parcel_iterator | end_parcel_iter () const =0 |
| virtual const_frame_row_iterator | begin_frame_row_iter () const =0 |
| virtual const_frame_row_iterator | begin_frame_row_iter_at (GridCoord modelRow) const =0 |
| virtual const_frame_row_iterator | end_frame_row_iter () const =0 |
| virtual void | ConvertFromAnna (TableLayout *layout)=0 |
Maintains geometry information associated with a table frame. See kTableModelBoss.
Used to traverse through the CellParcelAddr contained by this table frame
Used to traverse through the CellParcelAddr contained by this table frame
| pure virtual |
Use to acquire an iterator that refers to the ITableLayout::Row at the beginning of this table frame
| pure virtual |
Use to acquire an iterator that refers to the ITableLayout::Row at the given row in this table frame
| pure virtual |
Use to acquire an iterator that refers to the parcel at the start of this table frame
| pure virtual |
Returns true if this table frame contains the give CellParcelAddr
| CellParcelAddr | element to check |
| pure virtual |
Returns true if the table frame contains this model column
| int32 | column to check if it contained by this frame |
| pure virtual |
Returns true if the table frame intersects any portion of the area
| area | area to use to check if contained by this table frame |
| pure virtual |
Returns true if the table frame contains this model row
| row | layout row to check if it contained by this frame |
| pure virtual |
Returns true if the table frame contains this layout row
| row | layout row to check if it contained by this frame |
| pure virtual |
Converts this table frame from the InDesign 2.0 format called ONLY during conversion
| pure virtual |
Returns a vector where each entry is contained in a separate section of the TableModel
| pure virtual |
Use to acquire an iterator that is 1+ the end of the TableFrame
| pure virtual |
Use to acquire an iterator that refers to the parcel one more then the end of this table frame
| pure virtual |
Returns kTrue if the new ModelRows composed in this TableFrame are from different Row Ranges (Header/SubHeader/Body/Footer).
| mR1 | GridCoord of a ModelRow that is composed in this Frame. |
| mR2 | GridCoord of a ModelRow that is composed in this Frame. |
| pure virtual |
Returns a PMRect in TableFrame coordinates corresponding to the selected area depending on what is passed in
| anchor | the model anchor of the cell we are trying to get the area of |
| area | kParcel, kInnerStroke, kPath – what bounds the area returned should have |
| pure virtual |
Returns the columns in this table frame
| pure virtual |
Gets the model GridCoord of the last row in the frame
NOTE: Do not combine this with GetFrameTopRowModelCoord() and expect to get a contiguous area of all cells in the Table Frame
| pure virtual |
Acquire a persistent reference to the text frame associated with this table frame.
| pure virtual |
Gets the model GridCoord of the first row in the frame
NOTE: Do not combine this with GetFrameBottomRowModelCoord() and expect to get a contiguous area of all cells in the Table Frame
| pure virtual |
In TableFrame coordinates. Note that this includes all of the stroke line around the frame and the union of all the cells InkBounds.
| pure virtual |
Accessor for the table model, returning a persistent UIDRef. This can be used to acquire an ITableModel interface.
| pure virtual |
Returns the number of layout rows this frame contains
| pure virtual |
Returns the parcel of the cell that is in this frame (each cell only has one of its parcels in a TableFrame)
| pure virtual |
Returns the Parcel Key for this Table Frame
| pure virtual |
In TableFrame coordinates. Note that this does not include the stroke line around the frame.
| pure virtual |
The TableFrame coordinate system has (0,0) as the value at the top left corner of the Stroke Bounds. Note that this includes all of the stroke line around the frame.
| pure virtual |
Returns the Matrix needed to transform a table frame coord to a text
frame coord
| pure virtual |
Returns the Matrix needed to transform a table frame coord to a Parcel
coord
| pure virtual |
Returns the Matrix needed to transform a table frame coord to a
pasteboard point
| pure virtual |
Determine which row/column, parcel, stroke the given point would lie in.
| pt | location to hit test, is given in inner (text frame) coordinates |
| pure virtual |
Returns true if the table frame intersects any portion of the area
| area | area to use to check for an intersection |
| pure virtual |
Determine if this is the first frame in the given table model.
| pure virtual |
Returns true if the given ITableLayout::Row's bottom is closed
| row | layout row to check |
| pure virtual |
Returns true if the given ITableLayout::Row's top is closed
| row | layout row to check |
| pure virtual |
Returns true if the table frame is composed and all of its information is still valid. Returns false if the frame is damaged.
| pure virtual |
Query for the text frame associated with this table frame.
| pure virtual |
Query for the associated table model.
| pure virtual |
Query for the Parcel associated with this table frame.
| pure virtual |
Sets the modes
| table |