[]
Represents the logical structure of a document (the structure tree root).
Obtain it from PdfDocument#structTreeRoot.
get children(): StructElementCollection;
Gets the collection of nested StructElement objects (a view over StructTreeRoot#items).
get classMap(): ClassMap;
Gets the dictionary that maps name objects designating attribute classes to the corresponding collections of attribute objects. The class map is created if it does not yet exist.
get hasClassMap(): boolean;
Gets a value indicating whether this structure tree root has a class map.
boolean
get hasRoleMap(): boolean;
Gets a value indicating whether this structure tree root has a role map.
boolean
get id(): number;
Gets the reference to the object.
number
get items(): StructTreeItemCollection;
Gets the collection of nested StructTreeItem objects.
get namespaces(): NamespaceCollection;
Gets the collection of namespaces used within the document.
get om(): ObjectManager;
Gets the owner ObjectManager instance.
get roleMap(): RoleMap;
Gets the dictionary that maps the names of structure types used in a document to their approximate equivalents in the set of standard structure types. The role map is created if it does not yet exist.
clear(): void;
Clears the collections of the StructTreeRoot: StructTreeRoot#items, the class map, and the role map.
void
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void