From: Peter Herweg Date: Sun, 15 Jan 2006 17:51:19 +0000 (+0000) Subject: RTF: call startListBody and endListBody X-Git-Tag: fop-0_92-beta~205 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f09d5b1f25f08b7d6bc21d1fa2a3972c2f37e06;p=xmlgraphics-fop.git RTF: call startListBody and endListBody git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369239 13f79535-47bb-0310-9956-ffa450edef68 --- 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);