Package com.reportmill.pdf
Class PDFPagesTree
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.pdf.PDFPagesTree
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
This class represents a pages tree in a PDF file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a given page to this pages tree.getPage
(int i) Returns the PDF page at the given index.int
Returns the index of the given page in this pages tree.void
Tells all pages in this pages tree to resolve page references.void
Writes this pages tree to the given PDF file.Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
PDFPagesTree
Creates a new pdf pages tree.
-
-
Method Details
-
getPage
Returns the PDF page at the given index. -
addPage
Adds a given page to this pages tree. -
indexOf
Returns the index of the given page in this pages tree. -
resolvePageReferences
public void resolvePageReferences()Tells all pages in this pages tree to resolve page references. -
writePDF
Writes this pages tree to the given PDF file.
-