diff options
Diffstat (limited to 'src/org/apache/fop/fo/FOText.java')
-rw-r--r-- | src/org/apache/fop/fo/FOText.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/FOText.java b/src/org/apache/fop/fo/FOText.java index 3cf9db50d..3438d7c15 100644 --- a/src/org/apache/fop/fo/FOText.java +++ b/src/org/apache/fop/fo/FOText.java @@ -18,6 +18,7 @@ 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 org.apache.fop.apps.StructureHandler; import java.util.NoSuchElementException; import java.util.List; @@ -48,6 +49,11 @@ public class FOText extends FObj { textInfo = ti; } + public void setStructHandler(StructureHandler st) { + super.setStructHandler(st); + structHandler.characters(ca, start, length); + } + public boolean willCreateArea() { if (textInfo.whiteSpaceCollapse == WhiteSpaceCollapse.FALSE && length > 0) { |