keiron 01/12/02 23:40:17 Modified: lib Tag: fop-0_20_2-maintain batik.jar src/org/apache/fop/image/analyser Tag: fop-0_20_2-maintain SVGReader.java src/org/apache/fop/render/ps Tag: fop-0_20_2-maintain PSGraphics2D.java src/org/apache/fop/svg Tag: fop-0_20_2-maintain PDFGraphics2D.java PDFTranscoder.java SVGUserAgent.java Log: updated to latest batik, hopefully api compatible with upcoming 1.1 release Revision Changes Path No revision No revision 1.5.2.1 +8759 -7747xml-fop/lib/batik.jar <<Binary file>> No revision No revision 1.12.2.1 +4 -1 xml-fop/src/org/apache/fop/image/analyser/SVGReader.java Index: SVGReader.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/analyser/SVGReader.java,v retrieving revision 1.12 retrieving revision 1.12.2.1 diff -u -r1.12 -r1.12.2.1 --- SVGReader.java 2001/10/12 06:40:12 1.12 +++ SVGReader.java 2001/12/03 07:40:17 1.12.2.1 @@ -1,5 +1,5 @@ /* - * $Id: SVGReader.java,v 1.12 2001/10/12 06:40:12 keiron Exp $ + * $Id: SVGReader.java,v 1.12.2.1 2001/12/03 07:40:17 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. @@ -160,6 +160,9 @@ return ""; } +public boolean isXMLParserValidating() { +return true; +} /** * Returns the user stylesheet uri. No revision No revision 1.2.2.1 +5 -2 xml-fop/src/org/apache/fop/render/ps/PSGraphics2D.java Index: PSGraphics2D.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/render/ps/PSGraphics2D.java,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- PSGraphics2D.java 2001/07/30 20:29:33 1.2 +++ PSGraphics2D.java 2001/12/03 07:40:17 1.2.2.1 @@ -1,5 +1,5 @@ /* - * $Id: PSGraphics2D.java,v 1.2 2001/07/30 20:29:33 tore Exp $ + * $Id: PSGraphics2D.java,v 1.2.2.1 2001/12/03 07:40:17 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. @@ -39,7 +39,7 @@ * implementing a <tt>Graphic2D</tt> piece-meal. * * @author <a href="mailto:[EMAIL PROTECTED]">Keiron Liddle</a> - * @version $Id: PSGraphics2D.java,v 1.2 2001/07/30 20:29:33 tore Exp $ + * @version $Id: PSGraphics2D.java,v 1.2.2.1 2001/12/03 07:40:17 keiron Exp $ * @see org.apache.batik.ext.awt.g2d.AbstractGraphics2D */ public class PSGraphics2D extends AbstractGraphics2D { @@ -245,6 +245,9 @@ this.m_bitmaps = result; this.m_mask = mask; } + public boolean invertImage() { +return false; +} public String getURL() { return "" + m_bitmaps; No revision No revision 1.20.2.1 +6 -2 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 retrieving revision 1.20.2.1 diff -u -r1.20 -r1.20.2.1 --- PDFGraphics2D.java 2001/10/22 07:27:30 1.20 +++ PDFGraphics2D.java 2001/12/03 07:40:17 1.20.2.1 @@ -1,5 +1,5 @@ /* - * $Id: PDFGraphics2D.java,v 1.20 2001/10/22 07:27:30 keiron Exp $ + * $Id: PDFGraphics2D.java,v 1.20.2.1 2001/12/03 07:40:17 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. @@ -43,7 +43,7 @@ * implementing a <tt>Graphic2D</tt> piece-meal. * * @author <a href="mailto:[EMAIL PROTECTED]">Keiron Liddle</a> - * @version $Id: PDFGraphics2D.java,v 1.20 2001/10/22 07:27:30 keiron Exp $ + * @version $Id: PDFGraphics2D.java,v 1.20.2.1 2001/12/03 07:40:17 keiron Exp $ * @see org.apache.batik.ext.awt.g2d.AbstractGraphics2D */ public class PDFGraphics2D extends AbstractGraphics2D { @@ -333,6 +333,10 @@ this.m_bitmaps = result; this.m_mask = mask; } + + public boolean invertImage() { +return false; +} public String getURL() { return "" + m_bitmaps; 1.11.2.1 +6 -2 xml-fop/src/org/apache/fop/svg/PDFTranscoder.java Index: PDFTranscoder.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/PDFTranscoder.java,v retrieving revision 1.11 retrieving revision 1.11.2.1 diff -u -r1.11 -r1.11.2.1 --- PDFTranscoder.java 2001/10/12 06:40:13 1.11 +++ PDFTranscoder.java 2001/12/03 07:40:17 1.11.2.1 @@ -1,5 +1,5 @@ /* - * $Id: PDFTranscoder.java,v 1.11 2001/10/12 06:40:13 keiron Exp $ + * $Id: PDFTranscoder.java,v 1.11.2.1 2001/12/03 07:40:17 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. @@ -123,7 +123,7 @@ * millimeter conversion factor. * * @author <a href="mailto:[EMAIL PROTECTED]">Keiron Liddle</a> - * @version $Id: PDFTranscoder.java,v 1.11 2001/10/12 06:40:13 keiron Exp $ + * @version $Id: PDFTranscoder.java,v 1.11.2.1 2001/12/03 07:40:17 keiron Exp $ */ public class PDFTranscoder extends XMLAbstractTranscoder { @@ -312,6 +312,10 @@ * A user agent implementation for <tt>ImageTranscoder</tt>. */ protected class ImageTranscoderUserAgent implements UserAgent { + + public boolean isXMLParserValidating() { + return true; + } /** * Returns the default size of this user agent (400x400). 1.2.2.1 +5 -1 xml-fop/src/org/apache/fop/svg/SVGUserAgent.java Index: SVGUserAgent.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGUserAgent.java,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- SVGUserAgent.java 2001/10/12 06:40:13 1.2 +++ SVGUserAgent.java 2001/12/03 07:40:17 1.2.2.1 @@ -1,5 +1,5 @@ /* - * $Id: SVGUserAgent.java,v 1.2 2001/10/12 06:40:13 keiron Exp $ + * $Id: SVGUserAgent.java,v 1.2.2.1 2001/12/03 07:40:17 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. @@ -139,6 +139,10 @@ public boolean hasFeature(String str) { return false; + } + + public boolean isXMLParserValidating() { + return true; } public void registerExtension(BridgeExtension be) {}
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]