Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2373

list-item-body with multi-line items

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0
    • None
    • renderer/rtf

    Description

      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 if someone has solution..

      Attachments

        Activity

          People

            Unassigned Unassigned
            mohd.mohsincse MOHD
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: