Package org.jpedal.io.outline
Class OutlineWriter
java.lang.Object
org.jpedal.io.outline.OutlineWriter
Writes an outline to a PDF file
-
Constructor Summary
ConstructorsConstructorDescriptionOutlineWriter
(File input, Document outline) Creates a new OutlineWriterOutlineWriter
(String input, Document outline) Creates a new OutlineWriter -
Method Summary
Modifier and TypeMethodDescriptiongenerate()
Generates a new unique refvoid
Writes the supplied outlines to the PDF file
-
Constructor Details
-
OutlineWriter
Creates a new OutlineWriter- Parameters:
input
- the file which is to be updatedoutline
- the outline to write
-
OutlineWriter
Creates a new OutlineWriter- Parameters:
input
- the file which is to be updatedoutline
- the outline to write
-
-
Method Details
-
writeOutline
Writes the supplied outlines to the PDF file- Throws:
IOException
- IOExceptionPdfException
- PdfException
-
generate
Generates a new unique ref- Returns:
- the new ref
-