Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Team,
PDF creator License No : 4503144636 / SA016785 / PU015212
We are facing few queries while implementing the PDF generator in project.
Following are the Questions i need clarification's.
Thanks Sai Raj R
Hello Sai,
Could you post your template?
If you look at Pdf.chstml which ships with the package - you'll see a helper called ParseElement
Within this helper is a case statement:
switch (node.Name) { case "p": @Pargraph(node) break; case "strong": @Bold(node) break; case "em":
If you don't see the tag that you want to process in here then you'll need to handle it yourself and write some FO to represent your style.
Parsing inline styles isn't supported by default, you'd need to add something custom, though I imagine this would be quite complicated.
Thanks.
Hi Darren,
Thank you for your clarification . This one solved many of my issue.
Is there any option to add inline styles to the PDF.
I am currently working with dummy data i will share the exact HTML in a day.
Hi Sai,
We don't have anything included to support inline styles - that'd be something that you'd need to write yourself.
I'd be happy to suggest and approach as to how you might do this if you can share the HTML.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Inline styles and italics are not working
Hi Team,
PDF creator License No : 4503144636 / SA016785 / PU015212
We are facing few queries while implementing the PDF generator in project.
Following are the Questions i need clarification's.
Thanks
Sai Raj R
Hello Sai,
Could you post your template?
If you look at Pdf.chstml which ships with the package - you'll see a helper called ParseElement
Within this helper is a case statement:
If you don't see the tag that you want to process in here then you'll need to handle it yourself and write some FO to represent your style.
Parsing inline styles isn't supported by default, you'd need to add something custom, though I imagine this would be quite complicated.
Thanks.
Hi Darren,
Thank you for your clarification . This one solved many of my issue.
Is there any option to add inline styles to the PDF.
I am currently working with dummy data i will share the exact HTML in a day.
Thanks Sai Raj R
Hi Sai,
We don't have anything included to support inline styles - that'd be something that you'd need to write yourself.
I'd be happy to suggest and approach as to how you might do this if you can share the HTML.
Thanks.
is working on a reply...