public class PdfStructureTreeRoot extends PdfDictionary implements IPdfStructureElement
Modifier and Type | Field and Description |
---|---|
protected HashMap<PdfName,PdfObject> |
classes |
Modifier and Type | Method and Description |
---|---|
PdfObject |
getAttribute(PdfName name)
Gets the first entarance of attribute.
|
PdfObject |
getMappedClass(PdfName name) |
HashMap<Integer,PdfIndirectReference> |
getNumTree() |
PdfIndirectReference |
getReference()
Gets the reference this object will be written to.
|
PdfWriter |
getWriter()
Gets the writer.
|
void |
mapClass(PdfName name, PdfObject object) |
void |
mapRole(PdfName used, PdfName standard)
Maps the user tags to the standard tags.
|
void |
setAttribute(PdfName name, PdfObject obj)
Sets the attribute value.
|
checkType, 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 void mapRole(PdfName used, PdfName standard)
used
- the user tag
standard
- the standard tag
public PdfWriter getWriter()
public HashMap<Integer,PdfIndirectReference> getNumTree() throws IOException
IOException
public PdfIndirectReference getReference()
public PdfObject getAttribute(PdfName name)
getAttribute
in interface IPdfStructureElement
public void setAttribute(PdfName name, PdfObject obj)
setAttribute
in interface IPdfStructureElement
Copyright © 1998–2018. All rights reserved.