![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IPDFDPARTHIERARCHY } |
| enum | DPartNodeType { kNonLeafNode = 0, kLeafNode } |
Public Member Functions | |
| virtual void | SetNodeNameList (const NodeNameList &nodeNames)=0 |
| virtual void | SetRecordLevel (int32 recordLevel)=0 |
| virtual DPartNode * | CreateDPartRootNode (DPartNodeType nodeType)=0 |
| virtual DPartNode * | CreateChildDPart (DPartNode *parentNode, DPartNodeType nodeType)=0 |
| virtual void | AddPage (DPartNode *leafNode, int32 pageNum, bool16 lastPage)=0 |
| virtual void | SetMetadata (DPartNode *dpartNode, CosObjID dpmDict)=0 |
| virtual CosObj | GetDPartRootCosObj ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
This method is called to add a page to a leaf DPart node.
| DPartNode | *leafNode: the leaf DPart node. |
| int32 | pageNum: the 0-based PDF page number. |
| bool16 | lastPage: kTrue if this is the last page for this DPart. |
| pure virtual |
This method is called to create a child DPart node of a non-leaf DPart. The memory for the node is owned by the core and clients MUST NOT free it.
| DPartNode | *parentNode: the parent DPart node. |
| DPartNodeType | nodeType: whether to create a non-leaf or leaf node. |
| pure virtual |
This method is called to create the root node of the document part hierarchy. The memory for the node is owned by the core and clients MUST NOT free it.
| DPartNodeType | nodeType: whether to create a non-leaf or leaf node. |
| pure virtual |
Adobe internal use only.
| pure virtual |
This method is called to set the DPart Metadata (DPM) of a DPart node.
| DPartNode | *dpartNode: the DPart node to set metadata for. |
| CosObjID | dpmDict: the DPart metadata dictionary identifier. |
| pure virtual |
This method is called to set the names of levels of the document part hierarchy.
| NodeNameList | nodeNames: names of the levels of the document part hierarchy. |
| pure virtual |
This method is called to set the record level of the document part hierarchy. The record level is the zero based level of the document part hierarchy where where each DPart node of that level corresponds to a recipient record.
| int32 | recordLevel: record level of the document part hierarchy. |