]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Wired in the configuration for IFDocumentHandler.
authorJeremias Maerki <jeremias@apache.org>
Tue, 21 Oct 2008 21:16:29 +0000 (21:16 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 21 Oct 2008 21:16:29 +0000 (21:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@706770 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/RendererFactory.java

index 5a82151e59d360da77862e97213b4f29cd0a656f..721ffa131047d5953886f5649e6aaf582c2dac1a 100644 (file)
@@ -36,6 +36,7 @@ import org.apache.fop.area.AreaTreeHandler;
 import org.apache.fop.fo.FOEventHandler;
 import org.apache.fop.render.intermediate.AbstractIFDocumentHandlerMaker;
 import org.apache.fop.render.intermediate.IFDocumentHandler;
+import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
 import org.apache.fop.render.intermediate.IFRenderer;
 
 /**
@@ -329,6 +330,10 @@ public class RendererFactory {
                     "No IF document handler for the requested format available: " + outputFormat);
             }
             IFDocumentHandler documentHandler = maker.makeIFDocumentHandler(userAgent);
+            IFDocumentHandlerConfigurator configurator = documentHandler.getConfigurator();
+            if (configurator != null) {
+                configurator.configure(documentHandler);
+            }
             return documentHandler;
         //}
     }