|
||||||||||
| 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.LocalPageDestination
public class LocalPageDestination
A Destination Object defining the page and the zoom configuration of a page within the current PDF Document.
A description of Destination Object is presented here:
AbstractDestinationPage
| Method Summary | |
|---|---|
static LocalPageDestination |
createInstance(PdfDocument doc)
Allows the creation of a new Destination Object. |
int |
getPageIndex()
Returns the index of the Page defined into the document containing this Destination object. |
AbstractZoom |
getZoom()
Returns the zoom configuration defined into this Destination object. |
void |
setPageIndex(int index)
Sets the index of the [age present in the document, to which this destination object should be referring to. |
void |
setZoom(AbstractZoom zoom)
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 LocalPageDestination 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()
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 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)
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.
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 | |||||||||