Support Article
Generated PDF document from a Report is not aligned properly
SA-38397
Summary
User reported that the generated PDF document from a Report is not aligned properly with Pega 7.2.
Error Messages
Not Applicable
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.
Root Cause
A third-party product issue while generating the PDF. The markup generated from Pega looks fine.
Resolution
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.
Published June 30, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.