Question
Capgemini India PVT Ltd
IN
Last activity: 1 Jul 2024 6:38 EDT
In PDF document table alignment is not coming properly which are add by Rich text editor.
I have multiple rich text editor where I have added multiple tables with heading and when I am generating the document in PDF it showing all tables are misaligned like some are left and some are right. Any suggestion will help full for me. Can we manage them with CSS label.
@souravg2765 - When generating the PDF based upon the DSS setting UseCompactStylesForPDF the styles will be added to the data which we are passing.
If the DSS is false or empty then application skin styles will be passed.
If DSS is true then the styles will be picked up from pyCompactStylesForPDF css file.
To understand more what styles are actually coming during run time, trace the PDF generation and in HTMLToPDF any step open the parameter page and check for Markup. This Markup data only will be passed for PDF generation , It holds html content and can easily find out what styles are causing this issue.
Thank you.