From f57272a7c47e82a4ba3131c2d7a730c9529ff272 Mon Sep 17 00:00:00 2001 From: William Victor Mote Date: Tue, 19 Aug 2003 05:19:21 +0000 Subject: create fo/FOTreeControl interface, and make control/Document implement it, to further encapsulate the FO Tree git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196811 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/FOTreeBuilder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/java/org/apache/fop/fo/FOTreeBuilder.java') diff --git a/src/java/org/apache/fop/fo/FOTreeBuilder.java b/src/java/org/apache/fop/fo/FOTreeBuilder.java index 1af4d795f..7f07bfc4a 100644 --- a/src/java/org/apache/fop/fo/FOTreeBuilder.java +++ b/src/java/org/apache/fop/fo/FOTreeBuilder.java @@ -54,7 +54,7 @@ package org.apache.fop.fo; import java.util.HashMap; import java.util.Map; import java.util.Set; -import org.apache.fop.control.Document; +import org.apache.fop.fo.FOTreeControl; import org.apache.fop.fo.pagination.Root; // SAX @@ -122,7 +122,7 @@ public class FOTreeBuilder extends DefaultHandler { private FOUserAgent userAgent; - public Document document; + public FOTreeControl foTreeControl; /** * Default constructor @@ -295,7 +295,7 @@ public class FOTreeBuilder extends DefaultHandler { + fobj.getName())); } rootFObj = (Root)fobj; - rootFObj.setDocument(document); + rootFObj.setFOTreeControl(foTreeControl); } else { currentFObj.addChild(fobj); } -- cgit v1.2.3