Class PDFPageLabels

  • All Implemented Interfaces:
    PDFWritable

    public class PDFPageLabels
    extends PDFNumberTreeNode
    Class representing a PDF /PageLabels dictionary.
    • Constructor Detail

      • PDFPageLabels

        public PDFPageLabels()
        Create the /PageLabels dictionary
    • Method Detail

      • addPageLabel

        public void addPageLabel​(int index,
                                 java.lang.String pageLabel)
        Adds a new entry, if necessary, to the /PageLabels dictionary.
        Parameters:
        index - the page index (0 for page 1)
        pageLabel - the page number as a string