◆ GetChild()
| StructElement.GetChild |
( |
index |
| ) |
|
Get a child structure tree entity by index.
- Parameters
-
| [in] | index | Index of a child structure tree entity to be retrieved. Valid range: from 0 to (count-1). count is returned by function StructElement.GetChildCount. |
- Returns
- A child structure tree entity object.
◆ GetChildCount()
| StructElement.GetChildCount |
( |
| ) |
|
Get the count of child structure tree entities in the current structure element.
- Returns
- The count of child structure tree entities.
◆ GetElementInfo()
| StructElement.GetElementInfo |
( |
type |
| ) |
|
Get the structure element information.
Before get structure element information, ensure that the function StructElement.HasElementInfo has been called and returned true (using the corresponding type).
- Parameters
-
- Returns
- Structure element information string.
◆ GetParentElement()
| StructElement.GetParentElement |
( |
| ) |
|
Get the parent structure element.
- Returns
- Parent structure element. If function StructElement.IsEmpty for the returned object returns true, that means current element does not have a parent element.
◆ GetStructureTypeName()
| StructElement.GetStructureTypeName |
( |
| ) |
|
Get structure type name.
Every structure element shall have a structure type, a name object that identifies the nature of the structure element and its role within the document (such as a chapter, paragraph, or footnote). Please refer to the description of "Standard Structure Types" in Section 10.7.3 of <PDF Reference 1.7> or the description of "Standard structure types" in Section 14.8.4 of <PDF Reference 2.0> for more details.
- Returns
- A string that represents structure type name of current structure element.
◆ HasElementInfo()
| StructElement.HasElementInfo |
( |
type |
| ) |
|
Check whether the structure element information of a specific type exist.
- Parameters
-
- Returns
- true means the element information type has element information, while false means the element information type does not have element information.
◆ e_ElementInfoTypeTitle
| StructElement.e_ElementInfoTypeTitle |
|
static |
Enumeration for structure element info type.
Values of this enumeration should be used alone.
Structure element info type: Title, which means the title of the structure element. A text string representing it in human-readable form.