You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Mohd Mohsin <mo...@gmail.com> on 2014/05/08 20:20:15 UTC

Fwd: Problem with list containing multi-line items in RTF

Hi,

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.

Thank you.

Regards,

Mohsin