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

[PATCH] implementation for table-layout="auto"

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.1
    • 1.1
    • fo/unqualified
    • tested on Win7 (JDK 7) and Mac OS 10.9 (JDK8)

    Description

      Hi everybody,
      update: changed the name to better reflect what I did.

      I had some time to work on the table-layout="auto" feature.
      Inspired by the postprocessing done in issue FOP-1226, I tried to propagate the computed values up the rendering process. Finally, I decided to opt for preprocessing and what can I tell you - it works, even for auto tables in fixed tables in auto tables (see attached xml files).
      Since I was mainly focused on the kind of tables found at my employer, I would like to get your feedback on how well this patch does for other users' tables.
      If you deem the effort worthwhile, I would try to port this patch into the trunk version - currently, it only applies to the tagged version 1.1.

      Attachments

        1. 2015-03-05-auto-fop-1_1v3.patch
          71 kB
          Gregor Berg
        2. 2015-02-26-auto-fop-1_1v2.patch
          68 kB
          Gregor Berg
        3. auto-table-in-fixed-table-in-auto-table.xml
          5 kB
          Gregor Berg
        4. auto-table-in-fixed-table-in-auto-table.xml.pdf
          6 kB
          Gregor Berg
        5. resize-all-but-static-spanned-columns.pdf
          6 kB
          Gregor Berg
        6. resize-all-but-static-spanned-columns.xml
          4 kB
          Gregor Berg
        7. 2015-02-20-fop-1_1v1.patch
          63 kB
          Gregor Berg

        Activity

          People

            Unassigned Unassigned
            gberg Gregor Berg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: