StructElement Class Documentation

classStructElement

Namespace: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.

Member Function Documentation

DisposeChildren

voidDisposeChildren()

Returns:

void

[static initializer]

static void[static initializer]()

addMarkedContentRef

voidaddMarkedContentRef(Pagepage, Containercontainer)

Parameters

page: Page
container: Container

Returns:

void

Insert a marked-content reference using the given Container. /StructParents on the page and the parent tree are wired automatically.

delete

synchronized voiddelete(Booleandisposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized voiddelete()

Returns:

synchronized void

finalize

voidfinalize()

Returns:

void

getKidCount

intgetKidCount()

Returns:

int

getType

StringgetType()

Returns:

String

parentIsTreeRoot

booleanparentIsTreeRoot()

Returns:

boolean

True when this element's immediate parent is the struct tree root. Avoids allocating a CStructElement wrapper just to discard it.