![]() | InDesign SDK 20.5 |
#include <CHMLFiltHelper.h>
Public Types | |
| enum | LayoutObjectType { eGraphicsFrame, eTextFrame, eUnknown } |
| typedef object_type | data_type |
Public Member Functions | |
| CHMLGraphicFrameMetaData () | |
| CHMLGraphicFrameMetaData (LayoutObjectType type, int32 page, const PMRect &bboxRectInPage) | |
| CHMLGraphicFrameMetaData (LayoutObjectType type, int32 page, const PMRect &bboxRectInPage, const PMString &datalinkpath) | |
| LayoutObjectType | GetLayoutObjectType () const |
| int32 | GetPage () const |
| PMRect | GetRectInPage () const |
| PMString | GetDataLinkPath () const |
| void | SetDataLinkPath (const PMString &path) |
Helper (data) class for exporting aspects of a layout.
Types for the layout objects we understand
| Enumerator | |
|---|---|
| eGraphicsFrame | A graphics frame (that may contain an image); type from which we can get an IGraphicFrameData but iGraphicFrameData->GetTextContentUID is kInvalidUID, i.e. it can't be a text frame. |
| eUnknown | Some other type |
| inline |
Default constructor
| inline |
Constructor
| type | IN what sort of layout object this is (from IPageItemTypeUtils. A graphics frame; IGraphicFrameData or a text frame) |
| page | IN which page number this object is on (absolute, not just a spread-page index) |
| bboxRectInPage | IN bounding box in the parent coordinate system |
| inline |
Constructor
| type | IN what sort of layout object this is (from IPageItemTypeUtils. A graphics frame; IGraphicFrameData or a text frame) |
| page | IN which page number this object is on (absolute, not just a spread-page index) |
| bboxRectInPage | IN bounding box in the parent coordinate system |
| datalinkpath | IN specifies the path to the linked file |
| inline |
| inline |
Accessor for the type of this layout object
| inline |
Accessor for the page (absolute) on which this layout object is located in the publication
| inline |
| inline |
Specify the path of the datalinked file
| path | IN represents path to asset that is datalinked |