You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ar...@locus.apache.org on 2000/04/02 05:52:13 UTC
cvs commit: xml-fop/src/org/apache/fop/pdf PDFLink.java
arved 00/04/01 19:52:13
Modified: src/org/apache/fop/pdf PDFLink.java
Log:
links now invisible
Revision Changes Path
1.3 +4 -4 xml-fop/src/org/apache/fop/pdf/PDFLink.java
Index: PDFLink.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/pdf/PDFLink.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PDFLink.java 2000/03/11 03:35:54 1.2
+++ PDFLink.java 2000/04/02 03:52:12 1.3
@@ -1,4 +1,4 @@
-/*-- $Id: PDFLink.java,v 1.2 2000/03/11 03:35:54 arved Exp $ --
+/*-- $Id: PDFLink.java,v 1.3 2000/04/02 03:52:12 arved Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -80,7 +80,7 @@
this.uly = r.y;
this.brx = r.x + r.width;
this.bry = r.y - r.height;
- this.color = "0 0 0.7"; // just for now
+ this.color = "0 0 0"; // just for now
}
@@ -99,8 +99,8 @@
"/Subtype /Link\n" +
"/Rect [ " + (ulx/1000f) + " " + (uly/1000f) + " " +
(brx/1000f) + " " + (bry/1000f) + " ]\n"
- + "/C [ " + color + " ]\n" +
- "/Border [ 0 0 1 ]\n" +
+ + "/C [ " + this.color + " ]\n" +
+ "/Border [ 0 0 0 ]\n" +
"/A " + this.action.referencePDF() + "\n" +
"/H /I\n>>\nendobj\n";
return p;