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

[PATCH] wrap-option="wrap" doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 2.5
    • None
    • renderer/pdf
    • None
    • Operating System: other
      Platform: Other
    • 43474

    Description

      Running the following FO example with version 0.93 and 0.94 will produce a PDF
      document containing a table with some text. The text will not break as expected
      and violates the table boundary.

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <fo:layout-master-set>
      <fo:simple-page-master page-width="21cm" page-height="29.7cm" master-name="spm0">
      <fo:region-body region-name="region-body" margin-bottom="1cm"
      margin-top="1.5cm"/>
      <fo:region-before region-name="header" precedence="false" extent="4cm"/>
      <fo:region-after region-name="footer" extent="1cm"/>
      </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="spm0">
      <fo:flow flow-name="region-body">
      <fo:block wrap-option="wrap"
      padding-end="50pt"
      padding-start="2pt"
      space-before="6.0pt"
      margin-right="60pt"
      margin-left="28.35pt"
      font-size="10.0pt"
      font-family="Courier New, Courier"
      color="black"
      border-top-width="0.75pt"
      border-top-style="double"
      border-top-color="#D3D3D3"
      border-right-width="0.75pt"
      border-right-style="double"
      border-right-color="#D3D3D3"
      border-left-width="0.75pt"
      border-left-style="double"
      border-left-color="#D3D3D3"
      border-bottom-width="0.75pt"
      border-bottom-style="double"
      border-bottom-color="#D3D3D3"
      background-color="#D5DEE3"><object
      classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="1" height="1"
      align="baseline"
      codebase="http://java.sun.comproductsplugin13textToMakeTheLineEvenBiggerThanItWasBeforejinstall13win32cab#Version=1,3,0,0"
      name="xformsApplet">
      </fo:block>
      </fo:flow>
      </fo:page-sequence>
      </fo:root>

      Attachments

        1. wrap-option.fo
          2 kB
          Wolfgang Flohr
        2. Wrap_PDF.txt
          9 kB
          Max Aster
        3. Testcase_Table.fo
          5 kB
          Max Aster
        4. Testcase_Result.pdf
          6 kB
          Max Aster
        5. test.out.pdf
          6 kB
          Andreas L. Delmelle
        6. test.out.pdf
          6 kB
          Andreas L. Delmelle
        7. FOP-1421-2022-08-06.patch
          10 kB
          Carsten Pfeiffer
        8. bugzilla43474.patch
          1 kB
          Andreas L. Delmelle
        9. bugzilla43474.patch
          24 kB
          Andreas L. Delmelle
        10. b43474.fo
          2 kB
          Andreas L. Delmelle
        11. b43474.fo
          2 kB
          Andreas L. Delmelle

        Activity

          People

            Unassigned Unassigned
            wolfgang@cyberflohrs.de Wolfgang Flohr
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: