aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/txt/TXTRenderer.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-04-14 14:47:43 +0000
committerJeremias Maerki <jeremias@apache.org>2009-04-14 14:47:43 +0000
commit45e74b066f85dc88a36a2385bdfbbef85f766764 (patch)
treea0f0e575e81f2c4d0a63d52a9376238b6789ca3f /src/java/org/apache/fop/render/txt/TXTRenderer.java
parentdf97c24632b56eed65206ee97301605ab7f91bcc (diff)
downloadxmlgraphics-fop-45e74b066f85dc88a36a2385bdfbbef85f766764.tar.gz
xmlgraphics-fop-45e74b066f85dc88a36a2385bdfbbef85f766764.zip
Reverted changes for "ptr" to painter interface as announced in #46705. The pointer value is now provided through the IFContext so only the implementations that support it have to deal with it.
Also, the method signature changes in the renderers are now reverted. They are not necessary. Found a few other smaller omissions (IFRenderer, IFSerializer) that didn't seem to have been merged properly from Trunk. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764802 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/txt/TXTRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/txt/TXTRenderer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/txt/TXTRenderer.java b/src/java/org/apache/fop/render/txt/TXTRenderer.java
index 2170a67d2..3e2fab230 100644
--- a/src/java/org/apache/fop/render/txt/TXTRenderer.java
+++ b/src/java/org/apache/fop/render/txt/TXTRenderer.java
@@ -28,6 +28,8 @@ import java.io.OutputStream;
import java.util.List;
import java.util.Map;
+import org.apache.xmlgraphics.util.UnitConv;
+
import org.apache.fop.apps.FOPException;
import org.apache.fop.area.Area;
import org.apache.fop.area.CTM;
@@ -37,7 +39,6 @@ import org.apache.fop.area.inline.TextArea;
import org.apache.fop.render.AbstractPathOrientedRenderer;
import org.apache.fop.render.txt.border.AbstractBorderElement;
import org.apache.fop.render.txt.border.BorderManager;
-import org.apache.xmlgraphics.util.UnitConv;
/**
* Renderer that renders areas to plain text.
@@ -443,7 +444,7 @@ public class TXTRenderer extends AbstractPathOrientedRenderer {
}
/** {@inheritDoc} */
- protected void drawImage(String url, Rectangle2D pos, Map foreignAttributes, String ptr) {
+ protected void drawImage(String url, Rectangle2D pos, Map foreignAttributes) {
//No images are painted here
}