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

Tables are not printed as in view mode when they have columns with absolute width

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.3-rc-1, 14.10.8
    • 14.10.3
    • Export - PDF
    • None
    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Import the attached XAR and export to PDF:

      • PDFExportContent/ResizedTable -> has columns with absolute width -> the table layout in the generated PDF doesn't resemble the layout from view mode
      • PDFExportContent/ResizedTableRelative -> has columns with relative width -> the table layout from the PDF export is similar to the one from view mode

      It seems we need to convert the absolute column widths to relative widths before paged.js is generating the print pages.

      Attachments

        1. PDFExportContent.WebHome.xar
          5 kB
          Marius Dumitru Florea
        2. ResizedTable.pdf
          32 kB
          Marius Dumitru Florea
        3. ResizedTableRelative.pdf
          19 kB
          Marius Dumitru Florea

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: