IPdfStructureElement
public class PdfStructureTreeRoot extends PdfDictionary implements IPdfStructureElement
Modifier and Type | Field | Description |
---|---|---|
protected HashMap<PdfName,PdfObject> |
classes |
Modifier and Type | Method | 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.
|
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 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 © 2018. All rights reserved.