com.lowagie.text.pdf

Class PdfStructureElement

public class PdfStructureElement extends PdfDictionary

This is a node in a document logical structure. It may contain a mark point or it may contain other nodes.

Author: Paulo Soares (psoares@consiste.pt)

Field Summary
PdfStructureElementparent
Holds value of property kids.
PdfIndirectReferencereference
Holds value of property reference.
PdfStructureTreeRoottop
Constructor Summary
PdfStructureElement(PdfStructureElement parent, PdfName structureType)
Creates a new instance of PdfStructureElement.
PdfStructureElement(PdfStructureTreeRoot parent, PdfName structureType)
Creates a new instance of PdfStructureElement.
Method Summary
PdfDictionarygetParent()
Gets the parent of this node.
PdfIndirectReferencegetReference()
Gets the reference this object will be written to.
voidinit(PdfDictionary parent, PdfName structureType)
voidsetPageMark(int page, int mark)

Field Detail

parent

private PdfStructureElement parent
Holds value of property kids.

reference

private PdfIndirectReference reference
Holds value of property reference.

top

private PdfStructureTreeRoot top

Constructor Detail

PdfStructureElement

public PdfStructureElement(PdfStructureElement parent, PdfName structureType)
Creates a new instance of PdfStructureElement.

Parameters: parent the parent of this node structureType the type of structure. It may be a standard type or a user type mapped by the role map

PdfStructureElement

public PdfStructureElement(PdfStructureTreeRoot parent, PdfName structureType)
Creates a new instance of PdfStructureElement.

Parameters: parent the parent of this node structureType the type of structure. It may be a standard type or a user type mapped by the role map

Method Detail

getParent

public PdfDictionary getParent()
Gets the parent of this node.

Returns: the parent of this node

getReference

public PdfIndirectReference getReference()
Gets the reference this object will be written to.

Returns: the reference this object will be written to

init

private void init(PdfDictionary parent, PdfName structureType)

setPageMark

void setPageMark(int page, int mark)