aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FObjMixed.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-06-15 06:26:56 +0000
committerGlen Mazza <gmazza@apache.org>2004-06-15 06:26:56 +0000
commit39d2edd0962d329ca15a1a99f895ce11262e004f (patch)
treee9f977dd16ed1f05f9310ad8dbc9573f32818a0a /src/java/org/apache/fop/fo/FObjMixed.java
parentc9f1a6f52eb0d88bb0dfefdd2f7119fb7afb2626 (diff)
downloadxmlgraphics-fop-39d2edd0962d329ca15a1a99f895ce11262e004f.tar.gz
xmlgraphics-fop-39d2edd0962d329ca15a1a99f895ce11262e004f.zip
1.) Added restriction to fo:declarations that fo:color-profile is the only XSL namespace child element allowed.
2.) Switched from fo.FOTreeControl to apps.Document throughout app, to better clarify that it is the apps.Document object being accessed/used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197716 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.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/FObjMixed.java b/src/java/org/apache/fop/fo/FObjMixed.java
index 513294ad6..78831cade 100644
--- a/src/java/org/apache/fop/fo/FObjMixed.java
+++ b/src/java/org/apache/fop/fo/FObjMixed.java
@@ -46,8 +46,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(getFOTreeControl());
- textInfo = propMgr.getTextLayoutProps(getFOTreeControl());
+ propMgr.setFontInfo(getDocument());
+ textInfo = propMgr.getTextLayoutProps(getDocument());
}
FOText ft = new FOText(data, start, length, textInfo, this);
@@ -55,7 +55,7 @@ public class FObjMixed extends FObj {
ft.setName("text");
/* characters() processing empty for FOTreeHandler, not empty for RTF & MIFHandlers */
- getFOTreeControl().getFOInputHandler().characters(ft.ca, ft.startIndex, ft.endIndex);
+ getDocument().getFOInputHandler().characters(ft.ca, ft.startIndex, ft.endIndex);
addChild(ft);
}