Link to home
Start Free TrialLog in
Avatar of Hm_a
Hm_aFlag for United States of America

asked on

Jasper report and HTML

Hi experts,

I have a HTML code that is coming from the database of my application, it is rendering HTML tags in the PDF report. The HTML consists of valid tags. How to properly parse and export PDF report without HTML tags being displayed. At the same time HTML style should be maintained in PDF.

Thanks
hm
Avatar of antonieraj
antonieraj

Hi

Try to use HTML with CSS 1.0.

In Acrobat Edit->Preference->Convert from pdf->HTML 3.2 or HTML 4.0

Check whether settings are correct if you are using acrobat to convert html to pdf

Anto
Avatar of Hm_a

ASKER

Anto,

I need to implement this functionality programmatically. Any pointers would be highly appreciated.

Thanks
HM
Avatar of Hm_a

ASKER

Hi,

I have found the solution using FlyingSaucer API for on the fly HTML to PDF conversion.

Thanks
HM
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial