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 ke...@apache.org on 2002/06/04 10:13:21 UTC
cvs commit: xml-fop CHANGES
keiron 2002/06/04 01:13:21
Modified: src/org/apache/fop/svg Tag: fop-0_20_2-maintain
PDFANode.java PDFGraphics2D.java
. Tag: fop-0_20_2-maintain CHANGES
Log:
fixed external links in svg
Revision Changes Path
No revision
No revision
1.5.2.1 +2 -1 xml-fop/src/org/apache/fop/svg/PDFANode.java
Index: PDFANode.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/PDFANode.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- PDFANode.java 24 Sep 2001 07:31:52 -0000 1.5
+++ PDFANode.java 4 Jun 2002 08:13:21 -0000 1.5.2.1
@@ -1,5 +1,5 @@
/*
- * $Id: PDFANode.java,v 1.5 2001/09/24 07:31:52 keiron Exp $
+ * $Id: PDFANode.java,v 1.5.2.1 2002/06/04 08:13:21 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
@@ -58,6 +58,7 @@
int type = org.apache.fop.layout.LinkSet.EXTERNAL;
Shape outline = getOutline();
if(destination.startsWith("#svgView(viewBox(")) {
+ type = org.apache.fop.layout.LinkSet.INTERNAL;
String nums = destination.substring(18, destination.length() - 2);
float x = 0;
float y = 0;
1.20.2.4 +3 -3 xml-fop/src/org/apache/fop/svg/PDFGraphics2D.java
Index: PDFGraphics2D.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/PDFGraphics2D.java,v
retrieving revision 1.20.2.3
retrieving revision 1.20.2.4
diff -u -r1.20.2.3 -r1.20.2.4
--- PDFGraphics2D.java 22 May 2002 08:19:11 -0000 1.20.2.3
+++ PDFGraphics2D.java 4 Jun 2002 08:13:21 -0000 1.20.2.4
@@ -1,5 +1,5 @@
/*
- * $Id: PDFGraphics2D.java,v 1.20.2.3 2002/05/22 08:19:11 keiron Exp $
+ * $Id: PDFGraphics2D.java,v 1.20.2.4 2002/06/04 08:13:21 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
@@ -44,7 +44,7 @@
* implementing a <tt>Graphic2D</tt> piece-meal.
*
* @author <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
- * @version $Id: PDFGraphics2D.java,v 1.20.2.3 2002/05/22 08:19:11 keiron Exp $
+ * @version $Id: PDFGraphics2D.java,v 1.20.2.4 2002/06/04 08:13:21 keiron Exp $
* @see org.apache.batik.ext.awt.g2d.AbstractGraphics2D
*/
public class PDFGraphics2D extends AbstractGraphics2D {
@@ -173,7 +173,7 @@
rect.y = rect.y * 1000;
rect.height = -rect.height * 1000;
rect.width = rect.width * 1000;
- if(linkType == LinkSet.EXTERNAL) {
+ if(linkType != LinkSet.EXTERNAL) {
String pdfdest = "/XYZ " + dest;
currentAnnotList.addLink(pdfDoc.makeLinkCurrentPage(rect, pdfdest));
} else {
No revision
No revision
1.10.2.17 +1 -0 xml-fop/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/xml-fop/CHANGES,v
retrieving revision 1.10.2.16
retrieving revision 1.10.2.17
diff -u -r1.10.2.16 -r1.10.2.17
--- CHANGES 31 May 2002 00:17:16 -0000 1.10.2.16
+++ CHANGES 4 Jun 2002 08:13:21 -0000 1.10.2.17
@@ -21,6 +21,7 @@
- Fixed PDF-Renderer to work on EBCDIC systems
(Actually on systems where file.encoding != ASCII/ISO-8859)
Submitted by: Jason West <Ja...@mail.state.ky.us>
+- Fixed svg links to external url (Keiron)
==============================================================================
Done since 0.20.2 release
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org