Class PdfStructureElement
- java.lang.Object
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.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)
-
-
Constructor Summary
Constructors Constructor Description PdfStructureElement(PdfStructureElement parent, PdfName structureType)Creates a new instance of PdfStructureElement.PdfStructureElement(PdfStructureTreeRoot parent, PdfName structureType)Creates a new instance of PdfStructureElement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfDictionarygetParent()Gets the parent of this node.PdfIndirectReferencegetReference()Gets the reference this object will be written to.-
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size, toPdf
-
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toString, type
-
-
-
-
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
-
PdfStructureElement
public PdfStructureElement(PdfStructureTreeRoot 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
-
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
-
-