nishant.singh Posted October 26, 2018 Share Posted October 26, 2018 Hi,I want to display HTML data which is coming from database into a PDF report. The data contains text and images in it and is mapped to a single field in the JRXML. When i open the PDF only the text show but not the images. Is there any way i can achieve this in JasperReports? I am using iReport to design the template. Thanks. Link to comment Share on other sites More sharing options...
hozawa Posted October 26, 2018 Share Posted October 26, 2018 Which component are you using? Text component can't have image and image can't have text unless you convert the text to an image. Link to comment Share on other sites More sharing options...
nishant.singh Posted October 29, 2018 Author Share Posted October 29, 2018 Hi Hozawa,I am using a text compoent. The content that i want to render contains text and image URLs. I want to render the images as well in the PDF. Can you suggest any way i can achieve that? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now