This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-eeb09e01-ba7b-44d7-a526-fba79af172ca XWIKI-23887 Open

Part of a large table can be missing in the PDF export when Header and Footer is not selected

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-0a066e7a-b910-4314-8b8b-aacdf18c08a7 Ilie Andriuta created this issue on 13/Jan/26 17:08
 
Summary: Part of a large table can be missing in the PDF export when Header and Footer is not selected
Issue Type: cid:jira-generated-image-avatar-eeb09e01-ba7b-44d7-a526-fba79af172ca Bug
Affects Versions: 17.10.2, 17.4.8
Assignee: Unassigned
Attachments: Header_and_Footer_not_selected.png, Header_and_Footer_selected.png, pdf.WebHome.xar
Components: Export - PDF
Created: 13/Jan/26 17:08
Environment: Windows 11 Pro, Edge 143, using an instance of XWiki 17.10.2 on MySQL 9.3, Tomcat 11.0.15, Java 21
Priority: cid:jira-generated-image-static-major-9c8bf6fa-31c8-4649-b86b-eebe367149be Major
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Create a page containing a table with many columns (more than the page width, app. 27 columns with content) or use the attached XAR on which the issue reproduces
  2. On that page, click More Actions > Export > PDF
  3. Click 'Export'
  4. From the "PDF Export Options" un-select Header and Footer
  5. Click 'Export'
  6. Observe the exported PDF

Expected results

The table in the exported PDF contains all columns (although the table was downsized to fit in the page).

Actual results

A part of the table (app. 10 columns) from the right side is missing.

The issue reproduces when both Header and Footer are not selected.  If at least one of them is selected, the issue seems to not be reproducing.