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

Static pdf file


shop12

Recommended Posts

Just like how we embed a image file in jrxml files, is there a way to embed a pdf file?

The content is static so, I am trying to see if I can just refer to this file instead of creating a jrxml file for it.

Please help! Thanks

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Not sure what you mean. If you want to include a PDF file in a report (just like you do with an image), you can not do it.
The only thing you can do is to work with the JasperReports API to merge PDF files (this means that you can insert some pages into the original PDF). This does not allow you to populate portions of pages, but just divide and merge documents.

Giulio

 

Link to comment
Share on other sites

Thank Giulio.

I have a 8 page pdf document which is all static data. So I was wondering instead of creating jrxml files and feeding the data using a Resource bundle, if I could just embedd it like in case of an image, it would be easy.

So are you saying  that we cannot do it using JasperReports?

Link to comment
Share on other sites

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