com.lowagie.text.pdf
public class PdfStructureTreeRoot extends PdfStructureBase
Field Summary | |
---|---|
int | nextMark |
Map | pageMCIDs |
HashMap | parentTree |
PdfWriter | writer |
Constructor Summary | |
---|---|
PdfStructureTreeRoot(PdfWriter writer) |
Method Summary | |
---|---|
void | buildTree() |
int | getMCIDForPage(int pageIdx)
will NPE if pageIdx is unknown |
Integer | getMCIDForPage(Integer pageIdx)
retrieves the existing MCID for a given page. |
int | getNextMCID()
returns the next Marked Content ID. |
PdfWriter | getWriter()
Gets the writer. |
void | mapRole(PdfName used, PdfName standard)
Maps the user tags to the standard tags. |
void | nodeProcess(PdfDictionary struc, PdfIndirectReference reference) |
void | setObjMark(int objID, PdfIndirectReference strucRef)
Adds a structure element that is not part of a content item (annots & such) |
int | setPageMark(int pageIdx, PdfIndirectReference struc)
Adds a marked content item to the given page. |
void | setPagesMCID(int pageIdx, int pageMCID)
Sets the page's MCID. |
Parameters: writer a VALID PdfWriter. Or else.
Parameters: pageIdx
Returns: the MCID for the given page
Since: 2.1.5
Parameters: pageIdx
Returns: the MCID for the given page
Since: 2.1.5
Returns: the next top-level MCID
Since: 2.1.5
Returns: You'll never guess.
Since: 2.1.5
Parameters: used the user tag standard the standard tag
Parameters: objID strucRef
Since: 2.1.5
Parameters: pageIdx durh struc An indirect reference to the *structure element*
Returns: MCID (aka index) for the referenced StructureElement
Since: 2.1.5
Parameters: pageIdx That page thing we were just talking about. pageMCID The MCID for the page... Do try and keep up.
Since: 2.1.5