使用 DynamicJasper 打印报告中的自定义文本
是否可以使用 DynamicJasper 在标题(和副标题)后打印一些自定义文本?用例是我想打印一个表格报告,其中数据按某些条件过滤,并且我还需要输出这些条件。例如,居住在斯德哥尔摩的 26 岁人员的报告如下所示:
TITLE
Subtitle
Age: 26
City: Stockholm
| Name | Age | Street | City |
-----------------------------------
| John Doe | 26 | ... | Stockholm |
另一个示例可能是 此发票使用 DynamicReports 打印。如果不可能,我可能会迁移到 DynamicReports。
谢谢!
is it possible to print some custom text after the title (and subtitle) using DynamicJasper? The use case is that I want to print a table report where the data is filtered by some criteria, and I need to output the criteria as well. For example, a report of 26-year-old people living in Stockholm would look like this:
TITLE
Subtitle
Age: 26
City: Stockholm
| Name | Age | Street | City |
-----------------------------------
| John Doe | 26 | ... | Stockholm |
An another example might be this invoice which is printed using DynamicReports. If it's not possible I would probably migrate to DynamicReports.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
由于我没有使用 DynamicJasper 找到任何答案的解决方案,因此我已迁移到 DynamicReports,它能够实现我的预期。
Since I did not find any solution to my answer using DynamicJasper I have migrated to DynamicReports which is able to do what I intended.
DynamicJasper 自动图文集可能会有所帮助。
检查 http://dynamicjasper.com/2010/10/06/how-to-create-autotext-ie-page-xy-out-of-the-box/
drb作为DynamicReportBuilder的参考
DynamicJasper AutoText might be helpful..
Check http://dynamicjasper.com/2010/10/06/how-to-create-autotext-ie-page-xy-out-of-the-box/
drb comes as reference of DynamicReportBuilder