aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FObjMixed.java
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-08-19 05:19:21 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-08-19 05:19:21 +0000
commitf57272a7c47e82a4ba3131c2d7a730c9529ff272 (patch)
tree6b5de48ee08cdd8d8b011a690336605fef7745d4 /src/java/org/apache/fop/fo/FObjMixed.java
parenteeaa58076beb48b96bfc0e98ae80a0d4e2ddbc03 (diff)
downloadxmlgraphics-fop-f57272a7c47e82a4ba3131c2d7a730c9529ff272.tar.gz
xmlgraphics-fop-f57272a7c47e82a4ba3131c2d7a730c9529ff272.zip
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
Diffstat (limited to 'src/java/org/apache/fop/fo/FObjMixed.java')
-rw-r--r--src/java/org/apache/fop/fo/FObjMixed.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fo/FObjMixed.java b/src/java/org/apache/fop/fo/FObjMixed.java
index d0320b6cc..f7a4921a3 100644
--- a/src/java/org/apache/fop/fo/FObjMixed.java
+++ b/src/java/org/apache/fop/fo/FObjMixed.java
@@ -50,7 +50,7 @@
*/
package org.apache.fop.fo;
-import org.apache.fop.control.Document;
+import org.apache.fop.fo.FOTreeControl;
import org.apache.fop.layoutmgr.InlineStackingLayoutManager;
import org.apache.fop.layoutmgr.LMiter;
@@ -64,7 +64,7 @@ public class FObjMixed extends FObj {
/** TextInfo for this object */
protected TextInfo textInfo = null;
/** FontInfo for this object */
- protected Document fontInfo = null;
+ protected FOTreeControl fontInfo = null;
/**
* @param parent FONode that is the parent of this object
@@ -90,8 +90,8 @@ public class FObjMixed extends FObj {
if (textInfo == null) {
// Really only need one of these, but need to get fontInfo
// stored in propMgr for later use.
- propMgr.setFontInfo(getDocument());
- textInfo = propMgr.getTextLayoutProps(getDocument());
+ propMgr.setFontInfo(getFOTreeControl());
+ textInfo = propMgr.getTextLayoutProps(getFOTreeControl());
}
FOText ft = new FOText(data, start, length, textInfo, this);