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

PDF export of Confluence pages with tables inside expand macro are not formatted correctly

XMLWordPrintable

      Issue Summary

      PDF export of Confluence pages with tables inside expand macro are not formatted correctly.

      Steps to Reproduce

      1. Create a full-width table on a Confluence page(screenshot 1).
      2. Create a PDF export of the page. The table width is showing correctly(screenshot 2).
      3. Now insert an expand macro on the page and copy the table inside it. Make sure that the external table and the table inside the expand macro have the same width (screenshot 3).
      4. Create a PDF export of the page. We can see that the width of the external table is not identical to the table inside the expand macro(screenshot 4).

      Expected Results

      The expand macro and the external table should have the correct width in the PDF export also.

      Actual Results

      The PDF export shows different widths for the table inside the expand macro and the external table.

      Workaround

      Revert PDF Export to V1 may work in specific situations. This can be done by adding a @page tag to the PDF stylesheet:

      Space settings -> Look and Feel -> PDF Export 0>PDF stylesheet.

       

      @page {
      @top-center
      { font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size: 12pt; }
      

       

       

        1. Screenshot 1.png
          256 kB
          Sajan M
        2. Screenshot 2.png
          160 kB
          Sajan M
        3. Screenshot 3.png
          295 kB
          Sajan M
        4. Screenshot 4.png
          188 kB
          Sajan M

              Unassigned Unassigned
              smathew3@atlassian.com Sajan M (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: