diff options
author | Keiron Liddle <keiron@apache.org> | 2002-06-05 14:52:28 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-06-05 14:52:28 +0000 |
commit | d8510cb466c14d47630f544b210d35f6a37d3cbf (patch) | |
tree | e1140b7bbaf0404687644f8b05015e1240146c25 /src/org/apache/fop/apps/CommandLineStarter.java | |
parent | bc15564c2d6a518ca1daca4ab78ab05e27336ffb (diff) | |
download | xmlgraphics-fop-d8510cb466c14d47630f544b210d35f6a37d3cbf.tar.gz xmlgraphics-fop-d8510cb466c14d47630f544b210d35f6a37d3cbf.zip |
start to an improved mif handler
cleaner structures and logic for handling the mif document and elements
uses the structure handler concept to create the mif document
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/apps/CommandLineStarter.java')
-rw-r--r-- | src/org/apache/fop/apps/CommandLineStarter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/apache/fop/apps/CommandLineStarter.java b/src/org/apache/fop/apps/CommandLineStarter.java index 45c01940f..c38e3dd26 100644 --- a/src/org/apache/fop/apps/CommandLineStarter.java +++ b/src/org/apache/fop/apps/CommandLineStarter.java @@ -66,8 +66,10 @@ public class CommandLineStarter extends Starter { BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream( commandLineOptions.getOutputFile())); driver.setOutputStream(bos); - driver.getRenderer().setOptions( + if(driver.getRenderer() != null) { + driver.getRenderer().setOptions( commandLineOptions.getRendererOptions()); + } driver.render(parser, inputHandler.getInputSource()); bos.close(); System.exit(0); |