Question
Infosys
IN
Last activity: 4 Aug 2017 6:40 EDT
Fonts and colours do not render for column repeat layout for generated PDF
Dear Friendz,
need some quick response , where we are trying to generate a PDF file by using HTML to PDF . it's working fine , but here we are using repeating grids with customized format , when i tried to generate a PDF the table structure and colours are not fetching to PDF.
Note : I am including Paragraphs and sections here to design my pdf format where <td> and <tr> tags will not helpful for me to achieve my pdf format.
can you please let me know what exactly needs to develop to repeating grid layouts with colors if we directly included sections or paragraphs to html rule??
Thanks,
Raghav
-
Likes (1)
Jashwanth Thabeti -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Infosys
IN
Guys... This is done able to implement my customer expected PDF which includes multiple tables and diffefrent types of colors by using sections itself .
Thanks you guys :)
Thanks,
Raghav
Siemens
IN
Hello Raghavendra,
Looks like the CSS is not being passed to the PDF.
Please go through the below SA article. Hope that helps.
https://community.pega.com/support/support-articles/custom-styles-defined-css-do-not-get-passed-pdf
Regards,
Faizan.
Infosys
IN
Hello FaizanFayaz,
I don't want to use <TH> , <TR> tages . i.e don't want to use non autogenerated section where it is not going to fit my requirement . so looking to include sections or paragraphs directly to html stream.
Thanks,
Siemens
IN
Hi,
You mentioned that you have created custom format for the grid. Have you used custom css for the same or created a custom format using mixins ?
Could you please post the screenshots of the grid in section and how it appears in PDF.
One test you can do is to to create a dummy flow using createPDF smart shape and see whether the end result is same.
I tried a similar scenario at my end. CreatePDF smart shape is including all the css as compared to manually generating pdf using HTMLtoPDF activity.
Learning
IN
Hello Raghavendra,
Thanks for writing your query in PSC.
Kindly check the below urls for your reference:-
Can you try and use free form layout or smart layout and see the behaviour.
Hope this Helps.
Regards,
Hari
Infosys
IN
Hello Chalh,
I need to include grid formates to my pdf , where its not possible to generate grids by using freeform layouts or smart lay outs .
Please suggest me if iam wrong ?
Thanks,
Raghav
-
LAKSHMI TRIVENI VEGINETI
Infosys
IN
Dear All,
Do we have any additional suggestions for this ?
Thanks,
Raghav
Accepted Solution
Infosys
IN
Guys... This is done able to implement my customer expected PDF which includes multiple tables and diffefrent types of colors by using sections itself .
Thanks you guys :)
Thanks,
Raghav