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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a given page to this pages tree.getPage(int i) Returns the PDF page at the given index.intReturns the index of the given page in this pages tree.voidTells all pages in this pages tree to resolve page references.voidWrites this pages tree to the given PDF file.Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
PDFPagesTreeCreates a new pdf pages tree.
 
- 
- 
Method Details- 
getPageReturns the PDF page at the given index.
- 
addPageAdds a given page to this pages tree.
- 
indexOfReturns the index of the given page in this pages tree.
- 
resolvePageReferencespublic void resolvePageReferences()Tells all pages in this pages tree to resolve page references.
- 
writePDFWrites this pages tree to the given PDF file.
 
-