Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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.

 

 

Suggest Edit

Published January 24, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us