Jump to content
We've recently updated our Privacy Statement, available here ×

Formatting issues in rich text fields while generating pdf reports


dheerajaggarwal

Recommended Posts

We are using jasper reports v 3.7.6 to generate pdf reports in our project. We are getting some formatting issues while exporting rich text content to pdf.

e.g. If I export the html content (see the attached file sampleContent.html ) using Jasper reports, Then I get the pdf outcome as attached in the screenshot. Although the content renders properly in browser.

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Hi rsuddhala,

 

I have checked my code again. There are no different size and font style for last "li" element.

Have you checked the attached sampleContent.html file? Actually the problem is that inner "span" element of last "li" tag is not inheriting the styles from parent "ul" element.

Link to comment
Share on other sites

  • 1 month later...

Hi, dheerajaggarwal.

I want to offer some help. But I am using another document and PDF SDK instead of jasper reports v 3.7.6. Because I prefer the one whose way of processing is simple and fast when I need to do with the conversion work.It saves a lot of time for me. It is just one of many but I do appreciate its simple way of processing. Even though I only tried its free trial package to generate and process PDF and didn′t check the cost and licensing conditions, it worked great for me. Besides, this site also gives a lot of tutorials for processing different kinds of document and image formats using VB.NET. Share with you. And I hope you success. Good luck.

Best regards,
Arron
 

Link to comment
Share on other sites

  • 9 months later...

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...