如何合并多个BIRT报告 [英] How do I combine multiple BIRT reports

查看:60
本文介绍了如何合并多个BIRT报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前拥有一整套报告设计,涵盖了我们应用的各个部分,这些报告是根据用户的需求生成的.

We currently have a whole suite of report designs that cover various parts of our app, and these reports are generated on demand by our users.

我希望能够将其中的一些报告捆绑为一个报告,以返回给用户.

I want to be able to bundle up several of these reports into a single report to return to the user.

我最初破解了一个自定义报告生成器,该报告生成器使用报告库文件中的段生成了报告设计文件,然后运行了该生成的设计,但这很笨拙,而且管理起来很麻烦,因为我不得不复制各个报告(仍然必填).独立报表的任何更改都必须在合并报表的库中复制.

I initially hacked up a custom report builder that generated report design files using segments inside a report library file, and then ran that generated design, but this was unwieldy and a pain to manage as I had to duplicate the individual reports (still required) inside the report library file. Any changes to the stand-alone reports had to be duplicated in the library for the combined reports.

我真正要寻找的是一种指定多个设计文件,让它们全部运行,然后将包含他们选择的所有报告的单个文件返回给用户的方法.

What I am really looking for is a way to specify several design files, have them all run, and then return a single file to the user, containing all the reports they selected.

推荐答案

这是一个相当普遍的要求,我们正在努力但尚未解决.

This is a fairly common request, that we are working on but have not solved yet.

您今天不能使用的一种不理想的方法是运行每个报表,然后合并每个rptdocument的输出. BIRT-exchange有一个此处用于PDF和HTML.问题在于页面编号不正确,目录也不正确.

One approach that is not ideal that you can use today is to run each report and then combine the output from each rptdocument. BIRT-exchange has an example of this here for PDF and HTML. The problem is that the page numbering will not be correct and the TOC will not be right either.

更好的方法是,如果有一个合并报告引擎任务,该任务将允许您通过适当的分页和TOC将多个rpt文档合并为一个rpt文档.我希望在2.5中看到此处的bugzilla条目. (2009年6月)该产品的版本.如果您有兴趣,请查看并提供您的反馈.

The better approach is if there was a merge report engine task that would allow you to combine multiple rptdocuments into a single rptdocument with appropriate pagination and TOC. There is a bugzilla entry here that I hope to see in the 2.5 (June 2009) version of the product. If you are interested please have a look in and give your feedback.

最后,我希望在2009年的产品中看到的功能之一是对DesignEngine API的改进,该功能使开发人员可以使用其他报表设计中的组件在运行时轻松组成单个报表设计.我已经创建了一个 bugzilla 来进行跟踪.

Finally, one of the features that I would like to see in the product for 2009 is some refinement to the DesignEngine API that allows a developer to easily compose a single report design at runtime, using components from other report designs. I have created a bugzilla to track this too.

如果这些都不合适,请告诉我,我会看看是否可以帮助您找到其他解决方案.

If none of these seem appropriate let me know and I will see if I can help you find a different solution.

这篇关于如何合并多个BIRT报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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