diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-05-03 13:47:18 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-05-03 13:47:18 +0000 |
commit | fc3f1a4c0a64e7f5559e30fbd2664900326d8359 (patch) | |
tree | d2acf51af5b2b65b746f14c527a766250714617d /src/java/org/apache/fop/render/txt/TXTRenderer.java | |
parent | 48d632c3c572444f32df26859e7d876eaed1dc2f (diff) | |
download | xmlgraphics-fop-fc3f1a4c0a64e7f5559e30fbd2664900326d8359.tar.gz xmlgraphics-fop-fc3f1a4c0a64e7f5559e30fbd2664900326d8359.zip |
Some refactoring in the XML handling area which results in more code reuse and less redundancy.
Support for i-f-o for the AFPRenderer including a Graphics2DAdapter so extensions like Barcode4J can paint barcodes more efficiently (i.e. not via SVG).
The SVGConverter class could now be removed except for the writeImage() method because the same functionality is now covered by the Graphics2DAdapter via renderDocument() in the renderer.
PCL and AFP now use practically the same extension painting code (both render to bitmap images).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399306 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.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/render/txt/TXTRenderer.java b/src/java/org/apache/fop/render/txt/TXTRenderer.java index f2f2c770b..a45199242 100644 --- a/src/java/org/apache/fop/render/txt/TXTRenderer.java +++ b/src/java/org/apache/fop/render/txt/TXTRenderer.java @@ -24,6 +24,7 @@ import java.awt.geom.Rectangle2D; import java.io.IOException; import java.io.OutputStream; import java.util.List; +import java.util.Map; import org.apache.avalon.framework.configuration.Configuration; import org.apache.avalon.framework.configuration.ConfigurationException; @@ -444,12 +445,12 @@ public class TXTRenderer extends AbstractPathOrientedRenderer { } } - /** - * Does nothing. - * @param url String - * @param pos Rectangle2D + /** + * @see org.apache.fop.render.AbstractPathOrientedRenderer#drawImage( + * java.lang.String, java.awt.geom.Rectangle2D, java.util.Map) */ - protected void drawImage(String url, Rectangle2D pos) { + protected void drawImage(String url, Rectangle2D pos, Map foreignAttributes) { + //No images are painted here } /** |