aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/FOText.java
diff options
context:
space:
mode:
authorKaren Lease <klease@apache.org>2002-04-28 21:28:02 +0000
committerKaren Lease <klease@apache.org>2002-04-28 21:28:02 +0000
commit0b8f96f941357fb49da8eca12e60164b77e4db47 (patch)
tree93a76746329d5c8fc0cdc7515bacd17815293146 /src/org/apache/fop/fo/FOText.java
parentc87691055385415d1c3c5a13a0b483df58856ac9 (diff)
downloadxmlgraphics-fop-0b8f96f941357fb49da8eca12e60164b77e4db47.tar.gz
xmlgraphics-fop-0b8f96f941357fb49da8eca12e60164b77e4db47.zip
PR:
Obtained from: Submitted by: Reviewed by: Add BreakPossibility style LayoutManager code as an alternative to Keiron's "direct area creation" method. Not currently enabled: to do so, one must make 2 changes in the source. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194758 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/FOText.java')
-rw-r--r--src/org/apache/fop/fo/FOText.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/FOText.java b/src/org/apache/fop/fo/FOText.java
index a54dce5be..589bf4a11 100644
--- a/src/org/apache/fop/fo/FOText.java
+++ b/src/org/apache/fop/fo/FOText.java
@@ -17,6 +17,7 @@ import org.apache.fop.fo.properties.*;
import org.apache.fop.apps.FOPException;
import org.apache.fop.layoutmgr.LayoutManager;
import org.apache.fop.layoutmgr.TextLayoutManager;
+import org.apache.fop.layoutmgr.TextBPLayoutManager;
import java.util.NoSuchElementException;
import java.util.List;
@@ -81,6 +82,8 @@ public class FOText extends FObj {
System.arraycopy(tmp, 0, ca, 0, length);
}
list.add(new TextLayoutManager(this, ca, textInfo));
+ // TEST VARIANT USING Karen's BreakPoss scheme
+ // list.add(new TextBPLayoutManager(this, ca, textInfo));
}
public CharIterator charIterator() {