]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
RTF: call startListBody and endListBody
authorPeter Herweg <pherweg@apache.org>
Sun, 15 Jan 2006 17:51:19 +0000 (17:51 +0000)
committerPeter Herweg <pherweg@apache.org>
Sun, 15 Jan 2006 17:51:19 +0000 (17:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369239 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/rtf/RTFHandler.java

index 3714ac2ab5e13b0abaf9df89e4b5f3c63c740e61..9f800ead6e9d98d5ef39a57b3a3958944de9b37d 100644 (file)
@@ -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);