Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-34390

Long tables are cut off on PDF Export

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? 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

      Attachments

        1. conf544.pdf
          3 kB
          Branno
        2. conf553.pdf
          2 kB
          Branno
        3. conf561.pdf
          3 kB
          Branno
        4. confluence.png
          26 kB
          Andrew Snyder
        5. ds-Testpage201-after.pdf
          8 kB
          Minh Tran
        6. ds-Testpage201-before.pdf
          5 kB
          Minh Tran
        7. ds-Testpage201-before.pdf
          5 kB
          Minh Tran
        8. ds-Testpage202-after.pdf
          889 kB
          Minh Tran
        9. ds-Testpage202-before.pdf
          862 kB
          Minh Tran
        10. ds-Testpage203-after.pdf
          12 kB
          Minh Tran
        11. ds-Testpage203-before.pdf
          12 kB
          Minh Tran
        12. ds-Testpage204-after.pdf
          3 kB
          Minh Tran
        13. ds-Testpage204-before.pdf
          4 kB
          Minh Tran
        14. exported.png
          31 kB
          Andrew Snyder
        15. No section.png
          47 kB
          Pavel Potcheptsov
        16. PageExample
          6 kB
          Mateus Machado
        17. pdf with many columns.pdf
          17 kB
          Feng Xu
        18. test table 1.txt
          5 kB
          Feng Xu
        19. test table 2.txt
          643 kB
          Feng Xu
        20. test table 3.txt
          7 kB
          Feng Xu
        21. test table 4.txt
          1 kB
          Feng Xu
        22. With section.png
          47 kB
          Pavel Potcheptsov

        Issue Links

          Activity

            People

              mbereznitsky Mark Bereznitsky
              sbrannen@atlassian.com Branno
              Votes:
              81 Vote for this issue
              Watchers:
              86 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: