Need to embed file in PDF generated from jasper report.

0

Hi,

 

I am integrating Jasper report with my application. I need to embed files at given locations on page in PDF generated from jasper report. I searched on intenet but could not find any way. Is there any way to acheive it? or can I extend jasper report to acheive it?

Thanks.

vivek.birdi's picture
Joined: Jul 9 2018 - 4:08am
Last seen: 1 year 4 months ago

@hozawa, Here is explantation:

 

I have list of factories with their license document attached in database. I need to create the PDF where I have to show the list of factories in pdf along with details, so I am using group band for this. I need to show the link to lincense document of each factory in pdf, user should be able to download that document without internet too (so I can not user hyperlink).

vivek.birdi - 1 year 4 months ago

1 Answer:

0

What do you mean the "embedded"? If you want to put content of a text file or an image into JasperReports, this can be possible by using Scriptlets to replace field value with the content of the file.  If you want to attach a link to the file, this can also be done using hyperlink.

hozawa's picture
52452
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 1 week ago
Feedback
randomness