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

Lengthy string inside table cells breaks exported PDF's layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 3.0, 3.0.1, 3.0.2, 3.1, 3.1.1, 3.1.2, 3.2, 3.2.1, 3.3
    • Page - Export / Import
    • Windows XP, IE 8, Firefox 3.6.8

    Description

      Here is an example Wiki source that has been affected by this problem:

      tata
      
      bla bla
      
      || A || B || C || D || E || F || G || H || I || J ||
      | aaa | bbb | ccc | ddd | eee | fff | ggg | hhh | iii | jjj |
      | zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz | z | zzz | zzzzzzzzz | z | zzzzzzzz | zzz | zzzzzzzz | zzzzz | zzzzz |
      

      After clicking on 'Export to PDF', the lengthy string inside the table cells will take up all the space in A4 size instead of wrapping it up and allowing other columns to appear correctly. Please see attached sample of PDF export (TST-TestPDFExport.pdf).

      However, without using any lengthy string or having string with spaces, 'Export to PDF' will result in a nice export (see NotAffected-TestPDFExport.pdf). And here is the Wiki source:

      tata
      
      bla bla
      
      || A || B || C || D || E || F || G || H || I || J ||
      | aaa | bbb | ccc | ddd | eee | fff | ggg | hhh | iii | jjj |
      | zzzzzzzzzzzzzzzzzzzzz zzzzzz | z | zzz | zzzzzzzzz | z | zzzzzzzz | zzz | zzzzzzzz | zzzzz | zzzzz |
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jcooi JoachimA
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: