|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.PdfStructureTreeRoot
public class PdfStructureTreeRoot
The structure tree root corresponds to the highest hierarchy level in a tagged PDF.
| Field Summary | |
|---|---|
protected HashMap<PdfName,PdfObject> |
classes
|
| Fields inherited from class com.itextpdf.text.pdf.PdfDictionary |
|---|
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES |
| Fields inherited from class com.itextpdf.text.pdf.PdfObject |
|---|
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.itextpdf.text.pdf.PdfDictionary |
|---|
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 |
| Methods inherited from class com.itextpdf.text.pdf.PdfObject |
|---|
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected HashMap<PdfName,PdfObject> classes
| Method Detail |
|---|
public void mapRole(PdfName used,
PdfName standard)
used - the user tagstandard - the standard tag
public void mapClass(PdfName name,
PdfObject object)
public PdfObject getMappedClass(PdfName name)
public PdfWriter getWriter()
public HashMap<Integer,PdfIndirectReference> getNumTree()
throws IOException
IOExceptionpublic PdfIndirectReference getReference()
public PdfObject getAttribute(PdfName name)
getAttribute in interface IPdfStructureElement
public void setAttribute(PdfName name,
PdfObject obj)
setAttribute in interface IPdfStructureElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||