public class PdfStructureTreeRoot extends PdfDictionary
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap |
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) |
contains, get, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size, toPdf, toString
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
private java.util.HashMap parentTree
private PdfIndirectReference reference
private PdfWriter writer
PdfStructureTreeRoot(PdfWriter writer)
public void mapRole(PdfName used, PdfName standard)
used
- the user tagstandard
- the standard tagpublic PdfWriter getWriter()
public PdfIndirectReference getReference()
void setPageMark(int page, PdfIndirectReference struc)
private void nodeProcess(PdfDictionary struc, PdfIndirectReference reference) throws java.io.IOException
java.io.IOException
void buildTree() throws java.io.IOException
java.io.IOException