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

fo:table without fo:table-column's leading to bad result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Duplicate
    • 2.5
    • None
    • renderer/pdf
    • None
    • Operating System: other
      Platform: Other
    • 38777

    Description

      Hi

      I have attached nocolumns.xml XSL FO. It includes a page
      flow with a simple table that has 100% fixed width.

      Inside are 3 rows with 2 cells each. Note that there are
      no fo:table-column elements inside (afaik that shouldn't
      be necessary).

      in the resulting PDF the first column gets 100% of the
      table width, the second column 'sits' on the right
      reaching out of the page. The table is basically
      "100%+width of second column's content" wide.

      Consider 2nd document withcolumns.xml - this XSLFO has
      two fo:table-column elements inside the table and
      renders fine... the 100% width of the table is equally
      distributed amongst the two columns.

      Shouldn't both cases have the same end-result?

      Thanks
      Nils

      Attachments

        1. withcolumns.xml
          1.0 kB
          Nils Meier
        2. nocolumns.xml
          1.0 kB
          Nils Meier

        Issue Links

          Activity

            People

              fop-dev@xmlgraphics.apache.org fop-dev
              nils@meiers.net Nils Meier
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: