diff options
author | Karen Lease <klease@apache.org> | 2001-11-11 14:15:10 +0000 |
---|---|---|
committer | Karen Lease <klease@apache.org> | 2001-11-11 14:15:10 +0000 |
commit | 68bcc37323c02a04e2af3ff99d1f54bf32b0f986 (patch) | |
tree | 1b877977e0d447137e31c873af9c413de80efc99 /src/org/apache/fop/fo/FOText.java | |
parent | 33c605ec16b366fb1a064a8258a450e5b4c249b3 (diff) | |
download | xmlgraphics-fop-68bcc37323c02a04e2af3ff99d1f54bf32b0f986.tar.gz xmlgraphics-fop-68bcc37323c02a04e2af3ff99d1f54bf32b0f986.zip |
Integrate layout managers for text and block
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194558 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/FOText.java')
-rw-r--r-- | src/org/apache/fop/fo/FOText.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/FOText.java b/src/org/apache/fop/fo/FOText.java index b0ebd2b4b..8c02cc07e 100644 --- a/src/org/apache/fop/fo/FOText.java +++ b/src/org/apache/fop/fo/FOText.java @@ -16,6 +16,8 @@ import org.apache.fop.datatypes.*; import org.apache.fop.fo.properties.*; import org.apache.fop.apps.FOPException; import org.apache.fop.system.BufferManager; +import org.apache.fop.layoutmgr.LayoutManager; +import org.apache.fop.layoutmgr.TextLayoutManager; /** * a text node in the formatting object tree @@ -234,5 +236,8 @@ public class FOText extends FObj { return -1; } + public LayoutManager getLayoutManager() { + return new TextLayoutManager(this, ca); + } } |