Package com.reportmill.pdf
Class PDFPagesTree
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.pdf.PDFPagesTree
-
- All Implemented Interfaces:
RMArchiver.Archiving,java.lang.Cloneable
public class PDFPagesTree extends RMObject
This class represents a pages tree in a PDF file.
-
-
Constructor Summary
Constructors Constructor Description PDFPagesTree(PDFFile file)Creates a new pdf pages tree.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPage(PDFPage aPage)Adds a given page to this pages tree.PDFPagegetPage(int i)Returns the PDF page at the given index.intindexOf(PDFPage aPage)Returns the index of the given page in this pages tree.voidresolvePageReferences()Tells all pages in this pages tree to resolve page references.voidwritePDF(PDFFile pFile)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 Detail
-
PDFPagesTree
public PDFPagesTree(PDFFile file)
Creates a new pdf pages tree.
-
-
Method Detail
-
getPage
public PDFPage getPage(int i)
Returns the PDF page at the given index.
-
addPage
public void addPage(PDFPage aPage)
Adds a given page to this pages tree.
-
indexOf
public int indexOf(PDFPage aPage)
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
public void writePDF(PDFFile pFile)
Writes this pages tree to the given PDF file.
-
-