StructElement Class Documentation
class StructElementNamespace:com::datalogics::PDFL
Detailed Description
Internal wrapper for a single node in the PDF logical structure tree. Owns a non-owning reference to its CDocument. Exposes type (/S) access, the backing dict (for arbitrary attribute reads/writes), child creation, and marked-content reference insertion.
Referenced by
Uses types
Member Function Documentation
addChild
StructElement addChild(String structType)Parameters
structType: String
Returns:
StructElementaddMarkedContentRef
Parameters
Returns:
voidInsert a marked-content reference using the given Container. /StructParents on the page and the parent tree are wired automatically.
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetDocument
Document getDocument()Returns:
DocumentgetKidCount
int getKidCount()Returns:
intgetPDFDict
PDFDict getPDFDict()Returns:
PDFDictgetType
String getType()Returns:
StringparentIsTreeRoot
boolean parentIsTreeRoot()Returns:
booleanTrue when this element's immediate parent is the struct tree root. Avoids allocating a CStructElement wrapper just to discard it.