org.apache.fop.pdf
Class PDFLink
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFLink
public class PDFLink
- extends PDFObject
class representing an /Annot object of /Subtype /Link
Constructor Summary |
PDFLink(int number,
Rectangle r)
create objects associated with a link annotation (GoToR) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFLink
public PDFLink(int number,
Rectangle r)
- create objects associated with a link annotation (GoToR)
- Parameters:
number
- the object's numberproducer
- the application producing the PDF
setAction
public void setAction(PDFAction action)
toPDF
public byte[] toPDF()
- produce the PDF representation of the object
- Returns:
- the PDF
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.