From: jtauber Date: Fri, 3 Dec 1999 08:36:49 +0000 (+0000) Subject: fixed bug that stopped XTCommandLine from working. contributed by Bill Raudabaugh X-Git-Tag: pre-columns~604 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1565a12168544daa766510d4a3641fe343a50e4c;p=xmlgraphics-fop.git fixed bug that stopped XTCommandLine from working. contributed by Bill Raudabaugh git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193260 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/STATUS b/STATUS index ae3c4dd81..8191e0d62 100644 --- a/STATUS +++ b/STATUS @@ -9,6 +9,7 @@ Get images working [DONE] Incorporate Arved Sandstrom's simple-link implementation [PARTIAL] Implement basic keeps [PARTIAL] Incorporate Eric Schaeffer's further table fixes +Implement MessageHandler (or similar) Other Bugs to fix: @@ -33,6 +34,8 @@ Todo's and problems with AWT Previewer: Done since 0.12.0 release: basic support for padding-{top,left,bottom,right} on blocks. +implemented simple-link (don't think it works, though) +XTCommandLine now works again Done for 0.12.0 release: diff --git a/src/org/apache/fop/apps/XTCommandLine.java b/src/org/apache/fop/apps/XTCommandLine.java index 21fa398de..71e4d4a97 100644 --- a/src/org/apache/fop/apps/XTCommandLine.java +++ b/src/org/apache/fop/apps/XTCommandLine.java @@ -22,7 +22,7 @@ Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. - 4. The names "Fop" and "Apache Software Foundation" must not be used to + 4. The names "FOP" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. @@ -48,6 +48,7 @@ Software Foundation, please see . */ + package org.apache.fop.apps; import org.apache.fop.render.pdf.PDFRenderer; @@ -117,7 +118,7 @@ public class XTCommandLine extends CommandLine { driver.addElementMapping("org.apache.fop.fo.StandardElementMapping"); driver.addElementMapping("org.apache.fop.svg.SVGElementMapping"); driver.setWriter(new PrintWriter(new FileWriter(args[2]))); - driver.buildFOTree(parser, fileInputSource(args[0])); + driver.buildFOTree(xslProcessor, fileInputSource(args[0])); driver.format(); driver.render(); } catch (Exception e) {