public class PdfStructureElement extends PdfDictionary implements IPdfStructureElement
Modifier | Constructor and Description |
---|---|
protected |
PdfStructureElement(PdfDictionary parent,
PdfName structureType) |
|
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 |
---|---|
PdfObject |
getAttribute(PdfName name)
Gets the first entarance of attribute.
|
PdfDictionary |
getParent()
Gets the parent of this node.
|
PdfDictionary |
getParent(boolean includeStructTreeRoot) |
PdfIndirectReference |
getReference()
Gets the reference this object will be written to.
|
void |
setAttribute(PdfName name,
PdfObject obj)
Sets the attribute value.
|
void |
writeAttributes(IAccessibleElement element) |
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
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 mapprotected PdfStructureElement(PdfDictionary parent, PdfName structureType)
public PdfDictionary getParent()
public PdfDictionary getParent(boolean includeStructTreeRoot)
public PdfIndirectReference getReference()
public PdfObject getAttribute(PdfName name)
getAttribute
in interface IPdfStructureElement
public void setAttribute(PdfName name, PdfObject obj)
setAttribute
in interface IPdfStructureElement
public void writeAttributes(IAccessibleElement element)
Copyright © 2013. All Rights Reserved.