MOHD created FOP-2373:
-------------------------

             Summary: list-item-body with multi-line items
                 Key: FOP-2373
                 URL: https://issues.apache.org/jira/browse/FOP-2373
             Project: Fop
          Issue Type: Bug
          Components: rtf
    Affects Versions: 1.0
            Reporter: MOHD


I got some issue in list-block, when FO file contains list-block and 
list-item-body with multi-line items. Issue in RTF format where labels are 
repeating. Please find below the scenario.

FO syntax:

<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>

RTF output 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

I got the below patch and it solves the issue outside the table not inside.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50163

Please suggest me where I have to put this issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to