Class OutlineWriter

java.lang.Object
org.jpedal.io.outline.OutlineWriter

public final class OutlineWriter extends Object
Writes an outline to a PDF file
  • Constructor Details

    • OutlineWriter

      public OutlineWriter(File input, Document outline)
      Creates a new OutlineWriter
      Parameters:
      input - the file which is to be updated
      outline - the outline to write
    • OutlineWriter

      public OutlineWriter(String input, Document outline)
      Creates a new OutlineWriter
      Parameters:
      input - the file which is to be updated
      outline - the outline to write
  • Method Details

    • writeOutline

      public void writeOutline() throws IOException, PdfException
      Writes the supplied outlines to the PDF file
      Throws:
      IOException - IOException
      PdfException - PdfException
    • generate

      public String generate()
      Generates a new unique ref
      Returns:
      the new ref