org.apache.fop.pdf
Class PDFGoToRemote
java.lang.Object
|
+--org.apache.fop.pdf.PDFObject
|
+--org.apache.fop.pdf.PDFAction
|
+--org.apache.fop.pdf.PDFGoToRemote
- public class PDFGoToRemote
- extends PDFAction
class representing a /GoToR object.
Method Summary |
java.lang.String |
getAction()
return the action string which will reference this object |
byte[] |
toPDF()
represent the object in PDF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pdfFileSpec
protected PDFFileSpec pdfFileSpec
- the file specification
pageReference
protected int pageReference
destination
protected java.lang.String destination
PDFGoToRemote
public PDFGoToRemote(int number,
PDFFileSpec pdfFileSpec)
- create an GoToR object.
- Parameters:
number
- the object's numberfileSpec
- the fileSpec associated with the action
PDFGoToRemote
public PDFGoToRemote(int number,
PDFFileSpec pdfFileSpec,
int page)
- create an GoToR object.
- Parameters:
number
- the object's numberfileSpec
- the fileSpec associated with the actionpage
- a page reference within the remote document
PDFGoToRemote
public PDFGoToRemote(int number,
PDFFileSpec pdfFileSpec,
java.lang.String dest)
- create an GoToR object.
- Parameters:
number
- the object's numberfileSpec
- the fileSpec associated with the actiondest
- a named destination within the remote document
getAction
public java.lang.String getAction()
- return the action string which will reference this object
- Overrides:
getAction
in class PDFAction
- Returns:
- the action String
toPDF
public byte[] toPDF()
- represent the object in PDF
- Overrides:
toPDF
in class PDFAction
- Returns:
- the PDF string
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.