diff options
author | Glen Mazza <gmazza@apache.org> | 2004-06-22 00:44:46 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-06-22 00:44:46 +0000 |
commit | 92df5d3b4839a699d036940d3b9b3c0e797deb8b (patch) | |
tree | b9f3994a0f9f6d4fadb79a6f8c721252ef9fbeb3 /src/java/org/apache/fop/apps/Fop.java | |
parent | d6fc7d07d23209f2416a674e5208ae53f070ae26 (diff) | |
download | xmlgraphics-fop-92df5d3b4839a699d036940d3b9b3c0e797deb8b.tar.gz xmlgraphics-fop-92df5d3b4839a699d036940d3b9b3c0e797deb8b.zip |
1. Moved renderer options to within FOUserAgent
2. Validity checking on fo:conditional-page-master-reference added.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197741 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps/Fop.java')
-rw-r--r-- | src/java/org/apache/fop/apps/Fop.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/apps/Fop.java b/src/java/org/apache/fop/apps/Fop.java index 362739c22..7e75f4ab7 100644 --- a/src/java/org/apache/fop/apps/Fop.java +++ b/src/java/org/apache/fop/apps/Fop.java @@ -45,6 +45,7 @@ public class Fop { Driver driver = new Driver(); options = new CommandLineOptions(args); + driver.setUserAgent(options.getFOUserAgent()); inputHandler = options.getInputHandler(); try { @@ -60,9 +61,6 @@ public class Fop { } } - if (driver.getRenderer() != null) { - driver.getRenderer().setOptions(options.getRendererOptions()); - } driver.render(inputHandler); } finally { if (bos != null) { |