Explorar el Código

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
pull/42/head
jtauber hace 24 años
padre
commit
7897f01b9e
Se han modificado 2 ficheros con 6 adiciones y 2 borrados
  1. 3
    0
      STATUS
  2. 3
    2
      src/org/apache/fop/apps/XTCommandLine.java

+ 3
- 0
STATUS Ver fichero

@@ -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:


+ 3
- 2
src/org/apache/fop/apps/XTCommandLine.java Ver fichero

@@ -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 <http://www.apache.org/>.
*/

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) {

Cargando…
Cancelar
Guardar