public class PdfStructureElement extends PdfDictionary
Modifier and Type | Field and Description |
---|---|
private PdfStructureElement |
parent
Holds value of property kids.
|
private PdfIndirectReference |
reference
Holds value of property reference.
|
private PdfStructureTreeRoot |
top |
Constructor and Description |
---|
PdfStructureElement(PdfStructureElement parent,
PdfName structureType)
Creates a new instance of PdfStructureElement.
|
PdfStructureElement(PdfStructureTreeRoot parent,
PdfName structureType)
Creates a new instance of PdfStructureElement.
|
Modifier and Type | Method and 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) |
(package private) void |
setPageMark(int page,
int mark) |
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
private PdfStructureElement parent
private PdfStructureTreeRoot top
private PdfIndirectReference reference
public PdfStructureElement(PdfStructureElement parent, PdfName structureType)
parent
- the parent of this nodestructureType
- the type of structure. It may be a standard type or a user type mapped by the role mappublic PdfStructureElement(PdfStructureTreeRoot parent, PdfName structureType)
parent
- the parent of this nodestructureType
- the type of structure. It may be a standard type or a user type mapped by the role mapprivate void init(PdfDictionary parent, PdfName structureType)
public PdfDictionary getParent()
void setPageMark(int page, int mark)
public PdfIndirectReference getReference()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses