Generated PDF document from a Report is not aligned properly
User reported that the generated PDF document from a Report is not aligned properly with Pega 7.2.
Steps to Reproduce
- Navigate to Reports tab in the portal.
- Click on a report.
- Once report is generated click on the action tab and select ‘Export to PDF’ option.
- Check the generated PDF.
A third-party product issue while generating the PDF. The markup generated from Pega looks fine.
Here’s the explanation for the reported behavior:
When user enables ignore application skin for reports in the data access tab then pyReport_ExportToPdfStyles styles are considered, and PDF will be rendered with styles available in pyReport_ExportToPdfStyles css file.
Hence the only option to have this is include word-wrap :break-word; if complete data is required and wrapped or remove it then for some columns data might get truncated.