Jump to content
Changes to the Jaspersoft community edition download ×

Get HTML Content as it is in PDF Export


JS-newbie

Recommended Posts

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!

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...