[]
Represents a PDF tag (structure element) in a document's structure tree.
new StructElement(type?): StructElement;
Creates a new StructElement object.
string
The element's structure type.
StructElement
StructTreeItem.constructor
new StructElement(om, type?): StructElement;
Creates a new StructElement object.
An object manager that controls the lifetime of the StructElement object.
string
The element's structure type.
StructElement
StructTreeItem.constructor
get actualText(): string;
Gets a text that is an exact replacement for the structure element and its children.
string
set actualText(value): void;
Sets a text that is an exact replacement for the structure element and its children.
string
void
get alternateDescription(): string;
Gets the alternate description of the structure element and its children in human-readable form.
string
set alternateDescription(value): void;
Sets the alternate description of the structure element and its children in human-readable form.
string
void
get associatedFiles(): AssociatedFiles;
Gets the list of embedded files associated with this StructElement.
get attrClasses(): AttrClsRevisionCollection;
Gets the collection of attribute classes associated with this structure element.
get attrs(): AttrRevisionCollection;
Gets the collection of attributes associated with this structure element.
get children(): StructElementCollection;
Gets the collection of child StructElement objects (a view over StructElement#items).
get contentItems(): ContentItemLinkCollection;
Gets the collection of ContentItemLink objects (a view over StructElement#items).
get defaultPage(): PdfPage;
Gets the PdfPage object used as the default page for the content items owned by this StructElement.
set defaultPage(value): void;
Sets the PdfPage object used as the default page for the content items owned by this StructElement.
void
get elementId(): string;
Gets the element identifier designating this structure element. The value must be unique
among all elements in the document's structure hierarchy.
(Named elementId to avoid clashing with ObjectBase#id.)
string
set elementId(value): void;
Sets the element identifier designating this structure element. The value must be unique
among all elements in the document's structure hierarchy.
(Named elementId to avoid clashing with ObjectBase#id.)
string
void
get expandedAbbreviation(): string;
Gets the expanded form of an abbreviation.
string
set expandedAbbreviation(value): void;
Sets the expanded form of an abbreviation.
string
void
get hasAssociatedFiles(): boolean;
Gets a value indicating whether the StructElement#associatedFiles collection contains any items.
boolean
get hasAttrClasses(): boolean;
Gets a value indicating whether the StructElement#attrClasses collection contains any items.
boolean
get hasAttrs(): boolean;
Gets a value indicating whether the StructElement#attrs collection contains any items.
boolean
get hasItems(): boolean;
Gets a value indicating whether the StructElement#items collection contains any items.
boolean
get id(): number;
Gets the reference to the object.
number
get items(): StructTreeItemCollection;
Gets the collection of nested StructTreeItem objects.
get ns(): Namespace;
Gets the Namespace object defining the namespace this element belongs to.
set ns(value): void;
Sets the Namespace object defining the namespace this element belongs to.
void
get om(): ObjectManager;
Gets the owner ObjectManager instance.
get parent(): StructElement;
Gets the parent StructElement object, or null if there is none.
StructElement
get title(): string;
Gets the title of the structure element, a text string representing it in human-readable form.
string
set title(value): void;
Sets the title of the structure element, a text string representing it in human-readable form.
string
void
get type(): string;
Gets the structure type, a string identifying the nature of the structure element and its role within the document, such as chapter, paragraph, or footnote.
string
set type(value): void;
Sets the structure type, a string identifying the nature of the structure element and its role within the document, such as chapter, paragraph, or footnote.
string
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