Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-34390

Long tables are cut off on PDF Export

XMLWordPrintable

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      In a Page with a long table, when exporting to PDF it cuts columns off the table. Was working in previous versions (tested 5.4.4 and it did not cut off any columns). I tested in 5.5.2, 5.5.3, 5.6.1, and 5.5-OD-28-10 and these versions are all affected.

      Reproduction steps:

      1. Create a new page
      2. Create a table with 15 columns (number of rows shouldn't matter)
      3. Paste a 10 character string into each of the columns
      4. Save the page
      5. Export to PDF

      Expected behavior

      The table shrinks to fit the page, see conf544.pdf attachment.

      Actual behavior

      The table gets cut off, see conf553.pdf

      Workaround

      Have Confluence change the generated PDF by adding a 'PDF Export Stylesheet'. The one below can be used:

      @page
      {
      /*A4-sized pages in landscape orientation are 297 mm wide by 210 mm long*/
      size: 297mm 210mm;
      }
      

      Related Notes

      • This does not affect version 5.4.4

        1. conf544.pdf
          3 kB
        2. conf553.pdf
          2 kB
        3. conf561.pdf
          3 kB
        4. confluence.png
          confluence.png
          26 kB
        5. exported.png
          exported.png
          31 kB
        6. image-2017-06-26-10-35-31-177.png
          image-2017-06-26-10-35-31-177.png
          41 kB
        7. pdf-export.confluence-clour-6.2.pdf.png
          pdf-export.confluence-clour-6.2.pdf.png
          60 kB
        8. pdf with many columns.pdf
          17 kB

              fxu Feng Xu (Inactive)
              sbrannen@atlassian.com Branno
              Votes:
              81 Vote for this issue
              Watchers:
              86 Start watching this issue

                Created:
                Updated:
                Resolved: