org.apache.fop.pdf
Class PDFGoToRemote

java.lang.Object
  extended byorg.apache.fop.pdf.PDFObject
      extended byorg.apache.fop.pdf.PDFAction
          extended byorg.apache.fop.pdf.PDFGoToRemote

public class PDFGoToRemote
extends PDFAction

class representing a /GoToR object.


Field Summary
protected  java.lang.String destination
           
protected  int pageReference
           
protected  PDFFileSpec pdfFileSpec
          the file specification
 
Fields inherited from class org.apache.fop.pdf.PDFObject
generation, number
 
Constructor Summary
PDFGoToRemote(int number, PDFFileSpec pdfFileSpec)
          create an GoToR object.
PDFGoToRemote(int number, PDFFileSpec pdfFileSpec, int page)
          create an GoToR object.
PDFGoToRemote(int number, PDFFileSpec pdfFileSpec, java.lang.String dest)
          create an 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 org.apache.fop.pdf.PDFObject
getNumber, output, referencePDF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pdfFileSpec

protected PDFFileSpec pdfFileSpec
the file specification


pageReference

protected int pageReference

destination

protected java.lang.String destination
Constructor Detail

PDFGoToRemote

public PDFGoToRemote(int number,
                     PDFFileSpec pdfFileSpec)
create an GoToR object.

Parameters:
number - the object's number

PDFGoToRemote

public PDFGoToRemote(int number,
                     PDFFileSpec pdfFileSpec,
                     int page)
create an GoToR object.

Parameters:
number - the object's number
page - 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 number
dest - a named destination within the remote document
Method Detail

getAction

public java.lang.String getAction()
return the action string which will reference this object

Specified by:
getAction in class PDFAction
Returns:
the action String

toPDF

public byte[] toPDF()
represent the object in PDF

Specified by:
toPDF in class PDFAction
Returns:
the PDF string


Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.