Class PdfNumberTree


  • public class PdfNumberTree
    extends Object
    Creates a number tree.
    Author:
    Paulo Soares (psoares@consiste.pt)
    • Constructor Detail

      • PdfNumberTree

        public PdfNumberTree()
    • Method Detail

      • writeTree

        public static PdfDictionary writeTree​(HashMap items,
                                              PdfWriter writer)
                                       throws IOException
        Creates a number tree.
        Parameters:
        items - the item of the number tree. The key is an Integer and the value is a PdfIndirectReference.
        writer - the writer
        Returns:
        the dictionary with the number tree.
        Throws:
        IOException - on error