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

PDF Export - pagebreak macro causes content to be misaligned when using "Page Layout"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.9.1
    • Page - Export / Import
    • None

      Issue Summary

      When using Page Layout in a page to add "sections", and then add a "Page break" from macros, exported PDF file is broken.

      All content after page break is condensed on the right site of the page, and it's not moved to new page (like page break should do).

      Steps to Reproduce

      1. Create a pagebreak user macro following the instructions here 
      2. Create a new page using with few sections using page layout tool
      3. Insert pagebreak macro in the middle of the layout
      4. click on "..." >> export to PDF

      You can also reproduce using pagebreak_test_storage_format.txt 

      Expected Results

      Content should remain aligned properly after exporting to PDF

      Actual Results

      Content is misaligned after the page break and is not displayed on a new page as supposed to, an example pagebreak_test_results.pdf

      Workaround

      Selecting the section where the pagebreak macro is inserted and changing the style to "preformatted" seem to work, this workaround was submitted by a client in the comments section.

      I found a workaround for this issue- "preformatted style" needs to be applied in the section with "Page break". Then Confluence will be able to interpret "Page break" as a code, and PDF file will be formatted according to Confluence page correctly.

      .

              Unassigned Unassigned
              mkurdi@atlassian.com Mohamed K (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: