InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPDFDPartHierarchy.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Sameer Manuja
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE SYSTEMS INCORPORATED
16 // Copyright 2010 Adobe Systems Incorporated. All Rights Reserved.
17 //
18 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
19 // with the terms of the Adobe license agreement accompanying it. If you have received
20 // this file from a source other than Adobe, then your use, modification, or
21 // distribution of it requires the prior written permission of Adobe.
22 //
23 //========================================================================================
24 
25 #ifndef __IPDFDPartHierarchy__
26 #define __IPDFDPartHierarchy__
27 
28 #include "PDFID.h"
29 
31 typedef uint32 CosObjID;
32 
33 // opaque types
34 typedef struct OPAQUE_64_BITS CosObj;
35 class DPartNode;
36 
37 /* The PDF/VT DPart hierarchy */
39 {
40  public:
41  enum { kDefaultIID = IID_IPDFDPARTHIERARCHY };
42 
47  {
52  };
53 
58  virtual void SetNodeNameList(const NodeNameList &nodeNames) = 0;
59 
66  virtual void SetRecordLevel(int32 recordLevel) = 0;
67 
74  virtual DPartNode* CreateDPartRootNode(DPartNodeType nodeType) = 0;
75 
83  virtual DPartNode* CreateChildDPart(DPartNode *parentNode, DPartNodeType nodeType) = 0;
84 
91  virtual void AddPage(DPartNode *leafNode, int32 pageNum, bool16 lastPage) = 0;
92 
98  virtual void SetMetadata(DPartNode *dpartNode, CosObjID dpmDict) = 0;
99 
101  virtual CosObj GetDPartRootCosObj() = 0;
102 };
103 
104 #endif