All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ContentItem.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFStructContentItem
6 #define PDFTRON_H_CPPPDFStructContentItem
7 
8 #include <PDF/Page.h>
9 
10 namespace pdftron {
11  namespace PDF {
12  namespace Struct {
13 
21 {
22 public:
26  ContentItem(const ContentItem&);
28 
29  enum Type
30  {
35  };
36 
40  Type GetType() const;
41 
45  class SElement GetParent();
46 
52  Page GetPage();
53 
57  SDF::Obj GetSDFObj () const;
58 
59  // Type specific methods -----------------------------
60 
66  int GetMCID() const;
67 
76  SDF::Obj GetContainingStm() const;
77 
85  SDF::Obj GetStmOwner() const;
86 
91  SDF::Obj GetRefObj() const;
92 
93 // @cond PRIVATE_DOC
94 #ifndef SWIGHIDDEN
95  ContentItem(TRN_ContentItem impl);
96  TRN_ContentItem mp_item;
97 #endif
98 // @endcond
99 };
100 
101 
102  }; // namespace Struct
103  }; // namespace PDF
104 }; // namespace pdftron
105 
106 #include <Impl/PDFDoc.inl>
107 
108 #endif // PDFTRON_H_CPPPDFStructContentItem
marked-content identifier.
Definition: ContentItem.h:32
ContentItem & operator=(const ContentItem &)
ContentItem(const ContentItem &)
object reference dictionary.
Definition: ContentItem.h:33
SDF::Obj GetContainingStm() const
marked-content reference.
Definition: ContentItem.h:31