aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Herweg <pherweg@apache.org>2006-01-15 17:51:19 +0000
committerPeter Herweg <pherweg@apache.org>2006-01-15 17:51:19 +0000
commit2f09d5b1f25f08b7d6bc21d1fa2a3972c2f37e06 (patch)
treec9fa678e9e7790e3933cd64abc14f31031894ca5
parentdd50000f6ebf8c9d4242a8a2a83fbac659a78f83 (diff)
downloadxmlgraphics-fop-2f09d5b1f25f08b7d6bc21d1fa2a3972c2f37e06.tar.gz
xmlgraphics-fop-2f09d5b1f25f08b7d6bc21d1fa2a3972c2f37e06.zip
RTF: call startListBody and endListBody
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369239 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/render/rtf/RTFHandler.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/rtf/RTFHandler.java b/src/java/org/apache/fop/render/rtf/RTFHandler.java
index 3714ac2ab..9f800ead6 100644
--- a/src/java/org/apache/fop/render/rtf/RTFHandler.java
+++ b/src/java/org/apache/fop/render/rtf/RTFHandler.java
@@ -46,6 +46,7 @@ import org.apache.fop.fo.flow.InstreamForeignObject;
import org.apache.fop.fo.flow.Leader;
import org.apache.fop.fo.flow.ListBlock;
import org.apache.fop.fo.flow.ListItem;
+import org.apache.fop.fo.flow.ListItemBody;
import org.apache.fop.fo.flow.ListItemLabel;
import org.apache.fop.fo.flow.PageNumber;
import org.apache.fop.fo.flow.Table;
@@ -1299,6 +1300,12 @@ public class RTFHandler extends FOEventHandler {
} else {
endList( (ListBlock) foNode);
}
+ } else if (foNode instanceof ListItemBody) {
+ if (bStart) {
+ startListBody();
+ } else {
+ endListBody();
+ }
} else if (foNode instanceof ListItem) {
if (bStart) {
startListItem( (ListItem) foNode);