Class PDFPageLabels

All Implemented Interfaces:
PDFWritable

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

    • PDFPageLabels

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

    • addPageLabel

      public void addPageLabel(int index, 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