Revision: 10719
http://foray.svn.sourceforge.net/foray/?rev=10719&view=rev
Author: victormote
Date: 2009-03-19 17:27:22 +0000 (Thu, 19 Mar 2009)
Log Message:
-----------
Remove unnecessary dependencies on FOray PDF.
Modified Paths:
--------------
trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFGraphics2D.java
Modified: trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFGraphics2D.java
===================================================================
--- trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFGraphics2D.java 2009-03-19 17:22:18 UTC (rev 10718)
+++ trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFGraphics2D.java 2009-03-19 17:27:22 UTC (rev 10719)
@@ -38,7 +38,6 @@
import org.foray.common.ps.PsColor;
import org.foray.common.ps.PsUtil;
import org.foray.pdf.PDFGraphicsState;
-import org.foray.pdf.object.PDFAnnotList;
import org.foray.pdf.object.PDFDocument;
import org.foray.pdf.object.PDFString;
import org.foray.pdf.object.PDFXObject;
@@ -120,9 +119,6 @@
/** The current stream to add PDF commands to. */
private CharacterOutputStream currentStream;
- /** The current annotation list to add annotations to. */
- private PDFAnnotList currentAnnotList = null;
-
/** The override font. */
private org.axsl.font.FontUse overrideFont = null;
@@ -265,9 +261,6 @@
public void addLink(final PdfPage pdfPage, final Shape bounds,
final AffineTransform trans, final String dest,
final boolean externalLink) {
- if (this.currentAnnotList == null) {
- this.currentAnnotList = new PDFAnnotList(this.pdfDoc);
- }
final AffineTransform at = getTransform();
Shape b = at.createTransformedShape(bounds);
b = trans.createTransformedShape(b);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|