Excessive Whitespace Occurs When Exporting Pages to PDF with Code Macro Elements

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 5.7
    • Component/s: None

      When using the code block macro and export to PDF, the PDF generated has unexpected white space when the code block is just past the page limit.

      Reproduction steps:

      1. Create an empty page and add code block macro.
      2. Insert block of code into the macro 45 lines long.
      3. Save page.
      4. Export page to PDF

      Expected behavior

      Expected PDF file to display block of code continuously and extend into next page without any white space.

      Actual behavior

      The PDF contains the code block on the first page. Second page contains one line of code and then white space. The rest of code appears on the third page.

      Related Notes

      • Location of where white space generated is dependent on the lines of code in the block. It can sometimes appear at the front or the back. With 42 lines of code, a page break is generated for the first page and the code appears on the second page.
      • Also affects no format macro and panel macro.

            Assignee:
            Steve Haffenden (Inactive)
            Reporter:
            MichaelD
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: