From 92df5d3b4839a699d036940d3b9b3c0e797deb8b Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Tue, 22 Jun 2004 00:44:46 +0000 Subject: 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 --- src/java/org/apache/fop/apps/Fop.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/java/org/apache/fop/apps/Fop.java') 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) { -- cgit v1.2.3