3

I was curious if there is a way to include a static pdf in the middle of a jasper report. The jasper report will have a static pdf and that pdf will be included in the pdf that is created by the report. For example, the pdf exists of 3 pages, and in the final pdf that has been created by jasper, page 1-2 is created by jasper, 3-4 is the static pdf and 5-6 is again created by jasper. What I am asking is how to include a pdf in the middle of a jasper report instead of at the end. Is there a way to achieve that?

Edit: I can maybe use iText to do it, but my business requirement is to do this using jasper reports

9
  • Possible duplicate of Can JasperReports include a pdf in a report?
    – Alex K
    Commented Mar 16, 2017 at 20:07
  • 1
    @AlexK Nope. That question is about how to append the pdf after the jasper report. This is about how to include the pdf in the middle of the jasper report. Commented Mar 16, 2017 at 20:14
  • It is the same function :)
    – Alex K
    Commented Mar 16, 2017 at 20:15
  • @AlexK Are you referring to iText? That link is broken Commented Mar 16, 2017 at 20:16
  • You can also try to build your custom component for showing pdf with help of Generic component
    – Alex K
    Commented Mar 16, 2017 at 20:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.