Foxit PDF SDK
|
Instance Methods | |
(FSStructElement *) | - getChild: |
Get the structure element by index. More... | |
(int) | - getChildCount |
Get count of structure elements in current PDF structure tree. More... | |
(id) | - initWithDocument: |
Constructor, with parameters. More... | |
(id) | - initWithOther: |
Constructor, with another PDF structure tree object. More... | |
(BOOL) | - isEmpty |
Check whether current object is empty or not. More... | |
PDF structure tree is a kind of common data structure in tagged PDF documents. A structure tree is used in PDF files to represent the organization and hierarchy of the document's content. PDF structure tree has following characteristics:
Class FSPDFStructTree is used to be associated with an existing PDF structure tree. It offers functions to get structure elements in the PDF structure tree.
- (FSStructElement *) getChild: | (int) | index |
Get the structure element by index.
[in] | index | Index of the structure element to be retrieved. Valid range: from 0 to (count-1). count is returned by function FSPDFStructTree::getChildCount. |
- (int) getChildCount |
Get count of structure elements in current PDF structure tree.
- (id) initWithDocument: | (FSPDFDoc*) | document |
Constructor, with parameters.
If there exists PDF structure tree in the PDF document, this function is just to construct a PDF structure tree object to be associated with the structure tree.
[in] | document | A valid PDF document object. |
- (id) initWithOther: | (FSPDFStructTree*) | other |
Constructor, with another PDF structure tree object.
[in] | other | Another PDF structure tree object. |
- (BOOL) isEmpty |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.