Foxit PDF SDK
|
Public Types | |
enum | StructObjectType { e_UnknownType = -1, e_StructObjectTypeInvalid = 0, e_StructObjectTypeImage = 1, e_StructObjectTypeForm = 2, e_StructObjectTypeAnnot = 3 } |
Enumeration for object type. More... | |
![]() | |
enum | StructTreeEntityType { e_UnknownType = -1, e_StructTreeEntityTypeElement = 0, e_StructTreeEntityTypeMarkedContent = 1, e_StructTreeEntityTypeObjectContent = 2 } |
Enumeration for structure tree entity type. More... | |
Public Member Functions | |
StructObjectContent () | |
Constructor. | |
StructObjectContent (const StructObjectContent &other) | |
Constructor, with another structure object content object. More... | |
StructObjectContent (const StructTreeEntity &other) | |
Constructor, with another structure tree entity object. More... | |
~StructObjectContent () | |
Destructor. | |
pdf::objects::PDFDictionary * | GetDict () const |
Get PDF dictionary of related object. More... | |
StructObjectType | GetObjectType () const |
Get related object type. More... | |
StructElement | GetParentElement () |
Get the parent structure element. More... | |
![]() | |
StructTreeEntity () | |
Constructor. | |
StructTreeEntity (const StructTreeEntity &other) | |
Constructor, with another structure element entity object. More... | |
~StructTreeEntity () | |
Destructor. | |
PDFPage | GetPage () const |
Get the related PDF page. More... | |
StructTreeEntityType | GetType () const |
Get structure tree entity type. More... | |
bool | IsEmpty () const |
Check whether current object is empty or not. More... | |
bool | operator!= (const StructTreeEntity &other) const |
Not equal operator. More... | |
StructTreeEntity & | operator= (const StructTreeEntity &other) |
Assign operator. More... | |
bool | operator== (const StructTreeEntity &other) const |
Equal operator. More... | |
![]() | |
FS_HANDLE | Handle () const |
Get the handle of current object. More... | |
This class represents a PDF object content item.
foxit::pdf::objects::StructObjectContent::StructObjectContent | ( | const StructObjectContent & | other | ) |
Constructor, with another structure object content object.
[in] | other | Another structure object content object. |
foxit::pdf::objects::StructObjectContent::StructObjectContent | ( | const StructTreeEntity & | other | ) |
Constructor, with another structure tree entity object.
[in] | other | Another structure tree entity object. |
pdf::objects::PDFDictionary* foxit::pdf::objects::StructObjectContent::GetDict | ( | ) | const |
Get PDF dictionary of related object.
This function is available to the following types of objects: StructObjectContent::e_Image, StructObjectContent::e_Form and StructObjectContent::e_Annot. For type, this function will return NULL. PDF dictionary of related object.
StructObjectType foxit::pdf::objects::StructObjectContent::GetObjectType | ( | ) | const |
Get related object type.
StructElement foxit::pdf::objects::StructObjectContent::GetParentElement | ( | ) |
Get the parent structure element.