java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfDictionary
org.openpdf.text.pdf.PdfStructureElement
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
-
Constructor Summary
ConstructorsConstructorDescriptionPdfStructureElement(PdfStructureElement parent, PdfName structureType) Creates a new instance of PdfStructureElement.PdfStructureElement(PdfStructureTreeRoot parent, PdfName structureType) Creates a new instance of PdfStructureElement. -
Method Summary
Modifier and TypeMethodDescriptionGets the parent of this node.Gets the reference this object will be written to.Methods inherited from class org.openpdf.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class org.openpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Constructor Details
-
PdfStructureElement
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
-
PdfStructureElement
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 Details
-
getParent
Gets the parent of this node.- Returns:
- the parent of this node
-
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
-