IPdfStructureElement
, java.io.Serializable
public class PdfStructureTreeRoot extends PdfDictionary implements IPdfStructureElement
Modifier and Type | Field | Description |
---|---|---|
protected java.util.HashMap<PdfName,PdfObject> |
classes |
Modifier and Type | Method | Description |
---|---|---|
PdfObject |
getAttribute(PdfName name) |
Gets the first entarance of attribute.
|
PdfObject |
getMappedClass(PdfName name) |
|
java.util.HashMap<java.lang.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 tagstandard
- the standard tagpublic PdfWriter getWriter()
public java.util.HashMap<java.lang.Integer,PdfIndirectReference> getNumTree() throws java.io.IOException
java.io.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.