diff options
author | Keiron Liddle <keiron@apache.org> | 2003-02-14 04:15:08 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2003-02-14 04:15:08 +0000 |
commit | 77965315aae686c14ae4da62463deecb4cb091e2 (patch) | |
tree | 6e181b88d09148dafc891d72931786db920c51a6 /src/org/apache/fop/fo/flow/Character.java | |
parent | 2225023448fc23e22607228130b618a10ec63c2f (diff) | |
download | xmlgraphics-fop-77965315aae686c14ae4da62463deecb4cb091e2.tar.gz xmlgraphics-fop-77965315aae686c14ae4da62463deecb4cb091e2.zip |
set FO on lm as part of interface, simpler and more flexible
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195947 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/Character.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/Character.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/flow/Character.java b/src/org/apache/fop/fo/flow/Character.java index 3058af970..561e0cefe 100644 --- a/src/org/apache/fop/fo/flow/Character.java +++ b/src/org/apache/fop/fo/flow/Character.java @@ -52,7 +52,9 @@ public class Character extends FObj { public void addLayoutManager(List list) { InlineArea inline = getInlineArea(); if (inline != null) { - LeafNodeLayoutManager lm = new LeafNodeLayoutManager(this); + LeafNodeLayoutManager lm = new LeafNodeLayoutManager(); + lm.setUserAgent(getUserAgent()); + lm.setFObj(this); lm.setCurrentArea(inline); list.add(lm); } |