[ https://issues.apache.org/jira/browse/FOP-1863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996787#comment-13996787 ]
MOHD commented on FOP-1863: --------------------------- this patch solves the issue outside the table not inside. if list block is inside the table it is taking default labels. I have created below issue for the same. https://issues.apache.org/jira/browse/FOP-2373 Please give me some suggestion for this issue.. > Problem with list containing multi-line items in RTF > ---------------------------------------------------- > > Key: FOP-1863 > URL: https://issues.apache.org/jira/browse/FOP-1863 > Project: Fop > Issue Type: Bug > Components: rtf > Affects Versions: 1.0 > Environment: Operating System: Windows XP > Platform: PC > Reporter: dmitro > Assignee: fop-dev > Attachments: list_with_multiline.fo, list_with_multiline.rtf, > number_list_with_multiline.patch > > > I have a problem rendering a list with multi-line items in RTF. > I have html > <ul> > <li> > <p> > Item 1 Line 1<br /> > Item 1 Line 2<br /> > Item 1 Line 3 > </p> > </li> > <li> > <p> > Item 2 Line 1<br /> > Item 2 Line 2<br /> > Item 2 Line 3 > </p> > </li> > </ul> > which gets transformed into fo as > <fo:list-block> > <fo:list-item> > <fo:list-item-label end-indent="label-end()"> > <fo:block> > <fo:inline>•</fo:inline> > </fo:block> > </fo:list-item-label> > <fo:list-item-body start-indent="body-start()"> > <fo:block> > Item 1 Line 1 > </fo:block> > <fo:block> > Item 1 Line 2 > </fo:block> > <fo:block> > Item 1 Line 3 > </fo:block> > </fo:list-item-body> > </fo:list-item> > <fo:list-item> > <fo:list-item-label end-indent="label-end()"> > <fo:block> > <fo:inline>•</fo:inline> > </fo:block> > </fo:list-item-label> > <fo:list-item-body start-indent="body-start()"> > <fo:block> > Item 2 Line 1 > </fo:block> > <fo:block> > Item 2 Line 2 > </fo:block> > <fo:block> > Item 2 Line 3 > </fo:block> > </fo:list-item-body> > </fo:list-item> > </fo:list-block> > It renders to PDF correctly as > * Item 1 Line 1 > Item 1 Line 2 > Item 1 Line 3 > * Item 2 Line 1 > Item 2 Line 2 > Item 2 Line 3 > but in RTF it appears as > * Item 1 Line 1 > * Item 1 Line 2 > * Item 1 Line 3 > * Item 2 Line 1 > * Item 2 Line 2 > * Item 2 Line 3 -- This message was sent by Atlassian JIRA (v6.2#6252)