Show Image and Text in same field in JRXML

0

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.

nishant.singh's picture
Joined: Jun 15 2017 - 3:48am
Last seen: 1 year 3 months ago

2 Answers:

0

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.

hozawa's picture
57680
Joined: Apr 24 2010 - 4:31pm
Last seen: 8 months 1 week ago
0

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.

nishant.singh's picture
Joined: Jun 15 2017 - 3:48am
Last seen: 1 year 3 months ago
Feedback
randomness