From bd58f626c4b716e5721da745915d7e2a5ab63dab Mon Sep 17 00:00:00 2001 From: arved Date: Sat, 11 Mar 2000 03:35:54 +0000 Subject: [PATCH] Modified constructor git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193297 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/pdf/PDFLink.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/org/apache/fop/pdf/PDFLink.java b/src/org/apache/fop/pdf/PDFLink.java index 5d847d0f2..20d0f0c5a 100644 --- a/src/org/apache/fop/pdf/PDFLink.java +++ b/src/org/apache/fop/pdf/PDFLink.java @@ -63,7 +63,6 @@ public class PDFLink extends PDFObject { float uly; float brx; float bry; - String destination; String color; PDFAction action; @@ -73,7 +72,7 @@ public class PDFLink extends PDFObject { * @param number the object's number * @param producer the application producing the PDF */ - public PDFLink(int number, String destName, Rectangle r) { + public PDFLink(int number, Rectangle r) { /* generic creation of PDF object */ super(number); @@ -81,7 +80,6 @@ public class PDFLink extends PDFObject { this.uly = r.y; this.brx = r.x + r.width; this.bry = r.y - r.height; - this.destination = destName; // what is this for? this.color = "0 0 0.7"; // just for now } @@ -103,7 +101,7 @@ public class PDFLink extends PDFObject { (brx/1000f) + " " + (bry/1000f) + " ]\n" + "/C [ " + color + " ]\n" + "/Border [ 0 0 1 ]\n" + - "/A " + action.referencePDF() + "\n" + + "/A " + this.action.referencePDF() + "\n" + "/H /I\n>>\nendobj\n"; return p; } -- 2.39.5