Package com.aowagie.text.pdf
Class PdfStructureElement
- java.lang.Object
-
- com.aowagie.text.pdf.PdfObject
-
- com.aowagie.text.pdf.PdfDictionary
-
- com.aowagie.text.pdf.PdfStructureElement
-
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.
-
-
Field Summary
Fields Modifier and Type Field Description private PdfStructureElement
parent
Holds value of property kids.private PdfIndirectReference
reference
Holds value of property reference.private PdfStructureTreeRoot
top
-
Fields inherited from class com.aowagie.text.pdf.PdfDictionary
CATALOG, hashMap, OUTLINES, PAGE
-
Fields inherited from class com.aowagie.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type
-
-
Constructor Summary
Constructors Constructor Description PdfStructureElement(PdfStructureElement parent, PdfName structureType)
Creates a new instance of PdfStructureElement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfDictionary
getParent()
Gets the parent of this node.PdfIndirectReference
getReference()
Gets the reference this object will be written to.private void
init(PdfDictionary parent, PdfName structureType)
-
Methods inherited from class com.aowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, remove, size, toPdf, toString
-
Methods inherited from class com.aowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
-
-
-
Field Detail
-
parent
private final PdfStructureElement parent
Holds value of property kids.
-
top
private final PdfStructureTreeRoot top
-
reference
private PdfIndirectReference reference
Holds value of property reference.
-
-
Constructor Detail
-
PdfStructureElement
public PdfStructureElement(PdfStructureElement parent, PdfName structureType)
Creates a new instance of PdfStructureElement.- Parameters:
parent
- the parent of this nodestructureType
- the type of structure. It may be a standard type or a user type mapped by the role map
-
-
Method Detail
-
init
private void init(PdfDictionary parent, PdfName structureType)
-
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
- Since:
- 2.1.6 method removed in 2.1.5, but restored in 2.1.6
-
-