From: Jeremias Maerki Date: Tue, 12 Aug 2008 15:43:54 +0000 (+0000) Subject: Removed obsolete addTarget() method from IFPainter. X-Git-Tag: fop-1_0~115^2~147 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4f69c95ae92d2de6a00077fd1610cef458fdb5fe;p=xmlgraphics-fop.git Removed obsolete addTarget() method from IFPainter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685197 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/intermediate/IFPainter.java b/src/java/org/apache/fop/render/intermediate/IFPainter.java index a201c4b06..5181d15c0 100644 --- a/src/java/org/apache/fop/render/intermediate/IFPainter.java +++ b/src/java/org/apache/fop/render/intermediate/IFPainter.java @@ -206,11 +206,6 @@ public interface IFPainter { */ void startPageTrailer() throws IFException; - /** - * @todo Solve with extension because not all formats support that? - */ - void addTarget(String name, int x, int y) throws IFException; - /** * Indicates the end of the page trailer. * @throws IFException if an error occurs while handling this event diff --git a/src/java/org/apache/fop/render/intermediate/IFSerializer.java b/src/java/org/apache/fop/render/intermediate/IFSerializer.java index 94eb50c56..3cd57435d 100644 --- a/src/java/org/apache/fop/render/intermediate/IFSerializer.java +++ b/src/java/org/apache/fop/render/intermediate/IFSerializer.java @@ -322,12 +322,6 @@ public class IFSerializer extends AbstractXMLWritingIFPainter implements IFConst } } - /** {@inheritDoc} */ - public void addTarget(String name, int x, int y) throws IFException { - // TODO Auto-generated method stub - - } - private static String toString(Paint paint) { if (paint instanceof Color) { return ColorUtil.colorToString((Color)paint); diff --git a/src/java/org/apache/fop/render/pdf/PDFPainter.java b/src/java/org/apache/fop/render/pdf/PDFPainter.java index b13bed1e2..1f087058e 100644 --- a/src/java/org/apache/fop/render/pdf/PDFPainter.java +++ b/src/java/org/apache/fop/render/pdf/PDFPainter.java @@ -335,12 +335,6 @@ public class PDFPainter extends AbstractBinaryWritingIFPainter { } } - /** {@inheritDoc} */ - public void addTarget(String name, int x, int y) throws IFException { - // TODO Auto-generated method stub - - } - /** * Formats a integer value (normally coordinates in millipoints) to a String. * @param value the value (in millipoints) diff --git a/src/sandbox/org/apache/fop/render/svg/AbstractSVGPainter.java b/src/sandbox/org/apache/fop/render/svg/AbstractSVGPainter.java index c5d72ad9f..fe566bf93 100644 --- a/src/sandbox/org/apache/fop/render/svg/AbstractSVGPainter.java +++ b/src/sandbox/org/apache/fop/render/svg/AbstractSVGPainter.java @@ -267,13 +267,6 @@ public abstract class AbstractSVGPainter extends AbstractXMLWritingIFPainter return svgContext; } - /** {@inheritDoc} */ - public void addTarget(String name, int x, int y) throws IFException { - //establish(MODE_NORMAL); - // TODO Auto-generated method stub - - } - private static String toString(Paint paint) { //TODO Paint serialization: Fine-tune and extend! if (paint instanceof Color) {