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,Cloneable
This class represents a pages tree in a PDF file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a given page to this pages tree.getPage(int anIndex) Returns the PDF page at the given index.intReturns the number of pages.intReturns the index of the given page in this pages tree.voidTells 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.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toStringMethods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
PDFPagesTree
Creates a new pdf pages tree.
-
-
Method Details
-
getPageCount
public int getPageCount()Returns the number of pages. -
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.
-