JasperReports可以在报告中包含pdf吗? [英] Can JasperReports include a pdf in a report?

查看:254
本文介绍了JasperReports可以在报告中包含pdf吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在JasperReport中包含现有的pdf文件?

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

我们确实希望在不重新生成现有报告的情况下将新数据附加到现有报告中。我们将出口回pdf。我正在考虑使用iText的PdfCopy来合并两个pdf,但希望JasperReports可能有更简单的方法......

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

推荐答案

我认为你不能在JasperReports中做到这一点,但在 iText 中它会相当简单。

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

生成JasperReport,然后使用 PdfCopy 将新报告附加到原始报告(反之亦然)。

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

这篇关于JasperReports可以在报告中包含pdf吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆