|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination
org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination
public abstract class PDPageDestination
This represents a destination to a page, see subclasses for specific parameters.
| Field Summary | |
|---|---|
protected COSArray |
array
Storage for the page destination. |
| Constructor Summary | |
|---|---|
protected |
PDPageDestination()
Constructor to create empty page destination. |
protected |
PDPageDestination(COSArray arr)
Constructor to create empty page destination. |
| Method Summary | |
|---|---|
int |
findPageNumber()
Returns the page number for this destination, regardless of whether this is a page number or a reference to a page. |
COSArray |
getCOSArray()
Convert this standard java object to a COS object. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
PDPage |
getPage()
This will get the page for this destination. |
int |
getPageNumber()
This will get the page number for this destination. |
void |
setPage(PDPage page)
Set the page for this destination. |
void |
setPageNumber(int pageNumber)
Set the page number for this destination. |
| Methods inherited from class org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination |
|---|
create, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected COSArray array
| Constructor Detail |
|---|
protected PDPageDestination()
protected PDPageDestination(COSArray arr)
arr - A page destination array.| Method Detail |
|---|
public PDPage getPage()
public void setPage(PDPage page)
page - The page for the destination.public int getPageNumber()
public int findPageNumber()
PDOutlineItempublic void setPageNumber(int pageNumber)
pageNumber - The page for the destination.public COSBase getCOSObject()
public COSArray getCOSArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||