From 720d953a04a127e7d0aba7a63bb34a59f7cf6d56 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 21 Oct 2008 21:16:29 +0000 Subject: [PATCH] Wired in the configuration for IFDocumentHandler. 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/java/org/apache/fop/render/RendererFactory.java b/src/java/org/apache/fop/render/RendererFactory.java index 5a82151e5..721ffa131 100644 --- a/src/java/org/apache/fop/render/RendererFactory.java +++ b/src/java/org/apache/fop/render/RendererFactory.java @@ -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; //} } -- 2.39.5