public class PdfStructureTreeRoot extends PdfDictionary
Modifier and Type | Field and Description |
---|---|
private HashMap<Integer,PdfObject> |
parentTree |
private PdfIndirectReference |
reference |
private PdfWriter |
writer
Holds value of property writer.
|
Constructor and Description |
---|
PdfStructureTreeRoot(PdfWriter writer)
Creates a new instance of PdfStructureTreeRoot
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
buildTree() |
PdfIndirectReference |
getReference()
Gets the reference this object will be written to.
|
PdfWriter |
getWriter()
Gets the writer.
|
void |
mapRole(PdfName used,
PdfName standard)
Maps the user tags to the standard tags.
|
private void |
nodeProcess(PdfDictionary struc,
PdfIndirectReference reference) |
(package private) void |
setPageMark(int page,
PdfIndirectReference struc) |
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
private HashMap<Integer,PdfObject> parentTree
private PdfIndirectReference reference
PdfStructureTreeRoot(PdfWriter writer)
public void mapRole(PdfName used, PdfName standard)
used
- the user tagstandard
- the standard tagpublic PdfIndirectReference getReference()
void setPageMark(int page, PdfIndirectReference struc)
private void nodeProcess(PdfDictionary struc, PdfIndirectReference reference) throws IOException
IOException
void buildTree() throws IOException
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses