Support Article
Generating a PDF via PD4ML cuts off the content
SA-32577
Summary
When generating a PDF via PD4ML, content is cut off at the page break.
Error Messages
Not Applicable
Steps to Reproduce
Generate a PDF with content extending to a second page.
Root Cause
The issue occurs due to a negative padding value added as an inline style to the element starting at the beginning of a new page. When the page break happens and the element has a negative padding value (in this case top-padding of -14px), the text is moved above and is not visible.
Resolution
Perform the following local-change: remove the negative padding.
Published January 24, 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.