Can JasperReports include a pdf in a report?

隐身守侯 提交于 2019-12-08 08:17:50

问题


Is it possible to include an existing pdf file in a JasperReport?

We really want to append new data to an existing report with out regenerating the existing report. We will be exporting back to pdf. I'm looking at using iText's PdfCopy to merge two pdfs, but was hoping JasperReports might have an easier way...


回答1:


I don't think you could do that in JasperReports, but it would be fairly simple in iText.

Generate the JasperReport, and then use PdfCopy to append the new report to the original (or vice-versa).



来源:https://stackoverflow.com/questions/935802/can-jasperreports-include-a-pdf-in-a-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!