Hi.

      Export to PDF generates a different output for tables after from 4.1 to 4.2.2. (it looks worst on 4.2). The main changes I can apreciate are:

      • Size of the font in the cells of the table is bigger in 4.2
      • Cell width is fix in 4.2 (it divides the width of the page between the cells, whether a cell contains a character or a text) while it changes with the content in 4.1

      Repro steps:

      1. Install 4.1.10
      2. Created a page with a table in it
      3. Export page to PDF.
      4. Upgrade to 4.2.2
      5. Export the same page to PDF: Format has changed, table format is different.

      Best regards,
      Alex.

        1. table4.1.pdf
          34 kB
          Alejandro Conde Carrillo
        2. table4.2.pdf
          65 kB
          Alejandro Conde Carrillo

            [CONFSERVER-25567] PDF export of page with table changed between 4.1 and 4.2

            Please advise whether the workaround by Alex can be combined with setting:
            1. my own column widths in the code?
            2. fixed table width?

            Thank you.

            Jana Volencova added a comment - Please advise whether the workaround by Alex can be combined with setting: 1. my own column widths in the code? 2. fixed table width? Thank you.

            Can Atlassian confirm this is a temporary workaround and the problem will be fixed in a later release?

            Also this should be linked to CONF-5853, and that issue probably reopened.

            Jamie Echlin added a comment - Can Atlassian confirm this is a temporary workaround and the problem will be fixed in a later release? Also this should be linked to CONF-5853 , and that issue probably reopened.

            Dennis added a comment -

            Hi Alex,

            this finally fixed the issue with the width of the table an columns. Appreciate man !

            Regards
            Dennis

            Dennis added a comment - Hi Alex, this finally fixed the issue with the width of the table an columns. Appreciate man ! Regards Dennis

            evolver added a comment -

            Hello Alex,

            this temporary work-around did it and the export looks good. Thank you very much.

            evolver added a comment - Hello Alex, this temporary work-around did it and the export looks good. Thank you very much.

            Adding this CSS code to the custom PDF Stylesheets may help to fix the problem with the width of the table and columns:

            table
            {
               table-layout:auto !important;
               width: auto !important;
            }
            

            Alejandro Conde Carrillo (Inactive) added a comment - Adding this CSS code to the custom PDF Stylesheets may help to fix the problem with the width of the table and columns: table { table-layout:auto !important; width: auto !important; }

            Dennis added a comment -

            I talked to our developers and we need a solution for that issue asap !
            perhaps you can point out the CSS File which is responsible for the PDF Export's Layout and we can customize it by out own - we use the PDF Export for creating offers and stuff, so it tends to be a more critical impact to our business then I originally thought plus the problem with the meeting protocols which containing now more then 25 Pages instead of 2 or 6.

            Dennis added a comment - I talked to our developers and we need a solution for that issue asap ! perhaps you can point out the CSS File which is responsible for the PDF Export's Layout and we can customize it by out own - we use the PDF Export for creating offers and stuff, so it tends to be a more critical impact to our business then I originally thought plus the problem with the meeting protocols which containing now more then 25 Pages instead of 2 or 6.

            Exist in the latest Confluence 4.2.8

            Hanis Suhailah (Inactive) added a comment - - edited Exist in the latest Confluence 4.2.8

            evolver added a comment -

            Thank you very much for the hint though giving it a try, uninstalling 2.5.6 and installing 2.4, resulted in a wrong exported PDF file.
            The complete CSS code used for internal formatting is shown at the top of the exported PDF file, then showing the desired output, though that still broken.

            evolver added a comment - Thank you very much for the hint though giving it a try, uninstalling 2.5.6 and installing 2.4, resulted in a wrong exported PDF file. The complete CSS code used for internal formatting is shown at the top of the exported PDF file, then showing the desired output, though that still broken.

            Just upgraded PDF export plugin to v2.5.6 and noticed this problem also. Uninstalled it and manually uploaded v2.4 and the table export looks better.

            Josh Eastburn added a comment - Just upgraded PDF export plugin to v2.5.6 and noticed this problem also. Uninstalled it and manually uploaded v2.4 and the table export looks better.

            evolver added a comment -

            Additional note: The PDF export plugin had version 2.5.4, has been listed as "System Plugin".
            After a manual upgrade of the plugin to version 2.5.6 it's now listed as "User Plugin" though the output didn't changed.

            evolver added a comment - Additional note: The PDF export plugin had version 2.5.4, has been listed as "System Plugin". After a manual upgrade of the plugin to version 2.5.6 it's now listed as "User Plugin" though the output didn't changed.

              Unassigned Unassigned
              aconde Alejandro Conde Carrillo (Inactive)
              Affected customers:
              8 This affects my team
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: