Get HTML Content as it is in PDF Export

Hello. I am using HTML component in my report but when I am exporting the report to PDF from Jasper Server, the text is coming as a Plain text format and not in the formatted way as I need.

When I am exporting the report in Studio to HTML, I am getting the output as expected but since we don't have option to export the report in HTML from Jasper Server, I am trying to find a way to print the HTML component in PDF export. Is there a way to make it happen?

Thank you!

JS-newbie's picture
223
Joined: Aug 29 2018 - 6:28am
Last seen: 3 years 3 months ago

The HTML component in Jasper Report does not support fully CSS style when you exporting to PDF as normal.

When you export to HTML, it can understand all the style because the browser will parse CSS and display for you. But when you export to PDF, there is the limitation in the HTML component and not all styles will be applied to your PDF.

I am Leo - 3 years 4 months ago

0 Answers:

No answers yet
Feedback
randomness