Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16379

Export pdf table is messed up with styling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Old Core - PDF export
    • Labels:
      None
    • Environment:
      xwiki 10.10 chrome
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Seems like when there’s styling in the table, export to pdf feature works rather poorly.

      The view of the document is:

      But the exported pdf is like this:

      After some trial and error, I found out it’s this line in the source that’s causing it:

      |=(% style=“width: 15%;” %)Principle|=(% style=“width: 20%;” %)Policy|=(% style=“width: 20%;” %)Strategic Objectives|=Tactical Objectives
      

      If I remove all the (% sytle=…%), then export is okay.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              samsun387 Kevin Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response: