Class PdfStructureTreeRoot


  • class PdfStructureTreeRoot
    extends PdfDictionary
    The structure tree root corresponds to the highest hierarchy level in a tagged PDF.
    • Field Detail

      • parentTree

        private final java.util.HashMap parentTree
      • writer

        private final PdfWriter writer
        Holds value of property writer.
    • Constructor Detail

      • PdfStructureTreeRoot

        PdfStructureTreeRoot​(PdfWriter writer)
        Creates a new instance of PdfStructureTreeRoot
    • Method Detail

      • getWriter

        public PdfWriter getWriter()
        Gets the writer.
        Returns:
        the writer
      • getReference

        public PdfIndirectReference getReference()
        Gets the reference this object will be written to.
        Returns:
        the reference this object will be written to
        Since:
        2.1.6 method removed in 2.1.5, but restored in 2.1.6
      • buildTree

        void buildTree()
                throws java.io.IOException
        Throws:
        java.io.IOException