|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPdfObjectContainer
com.crionics.jpdf.destination.AbstractDestinationPage
com.crionics.jpdf.destination.RemotePageDestination
public class RemotePageDestination
A Destination Object defining the page and the zoom configuration of a page within another PDF Document.
A description of Destination Object is presented here:
AbstractDestinationPage
| Method Summary | |
|---|---|
static RemotePageDestination |
createInstance(PdfDocument doc)
Allows the creation of a new Destination Object. |
int |
getPageIndex()
Returns the index of the Page defined into the external PDF document. |
AbstractZoom |
getZoom(java.awt.print.PageFormat pageformat)
Returns the zoom configuration defined into this Destination object. |
void |
setPageIndex(int index)
Sets the index of the page present in the external PDF document, to which this destination object should be referring to. |
void |
setZoom(AbstractZoom zoom,
java.awt.print.PageFormat pageformat)
Sets the zoom configuration for this destination object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RemotePageDestination createInstance(PdfDocument doc)
throws PdfException,
java.io.IOException
doc - The Document into which the Destination object is to be
created.
PdfException - Raised if a problem occured while parsing the file.
java.io.IOException - Raised if a problem occured while reading the file.
public int getPageIndex()
throws PdfException,
java.io.IOException
PdfException - Raised if a problem occured while parsing the file.
java.io.IOException - Raised if a problem occured while reading the file.
public AbstractZoom getZoom(java.awt.print.PageFormat pageformat)
throws PdfException,
java.io.IOException
pageformat - The page format of the page into the external document. (Used
to translate the coordinate from the PDF System of coordinate
into the Java System of Coordinate)
PdfException - Raised if a problem occured while parsing the file.
java.io.IOException - Raised if a problem occured while reading the file.
public void setPageIndex(int index)
throws PdfException,
java.io.IOException
index - The index of the page (First page start at index=1 !).
PdfException - Raised if a problem occured while parsing the file.
java.io.IOException - Raised if a problem occured while reading the file.
public void setZoom(AbstractZoom zoom,
java.awt.print.PageFormat pageformat)
throws PdfException,
java.io.IOException
NOTE : This destination object must contains a valid Page Index before
applying a new zoom configuration.
zoom - The zoom configuration.pageformat - The page format of the page into the external document. (Used
to translate the coordinate from the PDF System of coordinate
into the Java System of Coordinate)
PdfException - Raised if a problem occured while parsing the file.
java.io.IOException - Raised if a problem occured while reading the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||