|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.pdf.object.PDFObject
org.foray.pdf.object.PDFAction
org.foray.pdf.object.PDFGoToRemote
public class PDFGoToRemote
class representing a /GoToR object.
| Field Summary |
|---|
| Fields inherited from class org.foray.pdf.object.PDFObject |
|---|
EOL, MSG_EOL, XREF_EOL |
| Constructor Summary | |
|---|---|
PDFGoToRemote(PDFDocument doc,
PDFFileSpec pdfFileSpec)
Create a GoToR object. |
|
PDFGoToRemote(PDFDocument doc,
PDFFileSpec pdfFileSpec,
int page)
Create a GoToR object for a specific page in a remote document. |
|
PDFGoToRemote(PDFDocument doc,
PDFFileSpec pdfFileSpec,
String dest)
Create a GoToR object for a named destination in a remote object. |
|
| Method Summary | |
|---|---|
String |
getAction()
Return the action string which will reference this object. |
String |
toPDF()
Generates the PDF text necessary to represent the object, returning it as a String. |
| Methods inherited from class org.foray.pdf.object.PDFObject |
|---|
bufferToByteArray, byteArrayToStream, getCharsPerLine, getGeneration, getLogger, getNumber, getPDFDocument, output, pdfID, pdfReference, setNumber, stringToByteArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFGoToRemote(PDFDocument doc,
PDFFileSpec pdfFileSpec)
doc - The parent PDF document.pdfFileSpec - the fileSpec associated with the action
public PDFGoToRemote(PDFDocument doc,
PDFFileSpec pdfFileSpec,
int page)
doc - The parent PDF document.pdfFileSpec - The fileSpec associated with the action.page - A page reference within the remote document.
public PDFGoToRemote(PDFDocument doc,
PDFFileSpec pdfFileSpec,
String dest)
doc - The parent PDF document.pdfFileSpec - The fileSpec associated with the action.dest - A named destination within the remote document.| Method Detail |
|---|
public String getAction()
getAction in class PDFActionpublic String toPDF()
PDFObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||