Support Article
Incorrect styling for PDF generated
SA-76312
Summary
Incorrect styling for PDF generated.
Error Messages
Not Applicable
Steps to Reproduce
Use 'Create PDF' smartshape in the flow to generate PDF.
Root Cause
A third-party product issue. All the styling options available in the skin were not supported due to the inherent limitations of the PD4ML library that was used for the PDF generation. UseCompactStylesforPDF Dynamic System Setting (DSS) replaced the Cascading Style Sheets (css) in skin with a lightweight CSS (available as pyCompactStylesforPDF text rule which can be further customized). This was the way to get minimal PDFs when those generated by using skin CSS became unusable.
Resolution
Perform the following local-change:
Customzie pyCompactStylesforPDF to style the PDF as per the requirement.
Published April 5, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.