Lengthy string inside table cells breaks exported PDF's layout

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 3.0, 3.0.1, 3.0.2, 3.1, 3.1.1, 3.1.2, 3.2, 3.2.1, 3.3
    • Component/s: Page - Export / Import
    • Environment:

      Windows XP, IE 8, Firefox 3.6.8

      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 |
      

        1. NotAffected-TestPDFExport.pdf
          3 kB
          JoachimA
        2. TST-TestPDFExport.pdf
          2 kB
          JoachimA

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

                Created:
                Updated:
                Resolved: