|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.icesoft.pdf.pobjects.Destination
The Destination class defines a particular view of a
PDF document consisting of the following items:
Destination can be associated with outline items, annotations, or actions. In each case the destination specifies the view of the document to be presented when one of the respective objects is activated.
The Destination class currently only supports the Destination syntaxes, [page /XYZ left top zoom], other syntax will be added in future releases. The syntax [page /XYZ left top zoom] is defined as follows:
A null value for left, top or zoom specifies that the current view values will be unchanged when navigating to the specified page.
Annotation,
OutlineItem,
Action| Constructor Summary | |
Destination(Library l,
Object h)
Creates a new instance of a Destination. |
|
| Method Summary | |
float |
getLeft()
Gets the left offset from the top, left position of the page specified by this destination. |
Reference |
getPageReference()
Gets the Page Reference specified by the destination. |
float |
getTop()
Gets the top offset from the top, left position of the page specified by this destination. |
float |
getZoom()
Gets the zoom level specifed by the destination. |
String |
toString()
Returns a summary of the annotation dictionary values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Destination(Library l,
Object h)
l - document library.h - Destination dictionary entries.| Method Detail |
public Reference getPageReference()
public float getLeft()
public float getTop()
public float getZoom()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||