public class PDFPagesTree extends RMObject
Constructor and Description |
---|
PDFPagesTree(PDFFile file)
Creates a new pdf pages tree.
|
Modifier and Type | Method and Description |
---|---|
void |
addPage(PDFPage aPage)
Adds a given page to this pages tree.
|
PDFPage |
getPage(int anIndex)
Returns the PDF page at the given index.
|
int |
getPageCount()
Returns the number of pages.
|
int |
indexOf(PDFPage aPage)
Returns the index of the given page in this pages tree.
|
void |
resolvePageReferences()
Tells all pages in this pages tree to resolve page references.
|
void |
writePDF(RMPDFWriter aWriter)
Writes this pages tree to the given PDF file.
|
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toString
addListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public PDFPagesTree(PDFFile file)
public int getPageCount()
public PDFPage getPage(int anIndex)
public void addPage(PDFPage aPage)
public int indexOf(PDFPage aPage)
public void resolvePageReferences()
public void writePDF(RMPDFWriter aWriter)