Class PDFPagesTree
- java.lang.Object
- 
- com.inductiveautomation.rm.base.RMListenerList
- 
- com.inductiveautomation.rm.base.RMObject
- 
- com.inductiveautomation.rm.pdf.writer.PDFPagesTree
 
 
 
- 
- All Implemented Interfaces:
- RMPropertyChanger,- java.lang.Cloneable
 
 public class PDFPagesTree extends RMObject This class represents a pages tree in a PDF file.
- 
- 
Constructor SummaryConstructors Constructor Description PDFPagesTree(PDFFile file)Creates a new pdf pages tree.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPage(PDFPage aPage)Adds a given page to this pages tree.PDFPagegetPage(int anIndex)Returns the PDF page at the given index.intgetPageCount()Returns the number of pages.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(RMPDFWriter aWriter)Writes this pages tree to the given PDF file.- 
Methods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toString
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Constructor Detail- 
PDFPagesTreepublic PDFPagesTree(PDFFile file) Creates a new pdf pages tree.
 
- 
 - 
Method Detail- 
getPageCountpublic int getPageCount() Returns the number of pages.
 - 
getPagepublic PDFPage getPage(int anIndex) Returns the PDF page at the given index.
 - 
addPagepublic void addPage(PDFPage aPage) Adds a given page to this pages tree.
 - 
indexOfpublic int indexOf(PDFPage aPage) Returns the index of the given page in this pages tree.
 - 
resolvePageReferencespublic void resolvePageReferences() Tells all pages in this pages tree to resolve page references.
 - 
writePDFpublic void writePDF(RMPDFWriter aWriter) Writes this pages tree to the given PDF file.
 
- 
 
-