用于在应用程序中生成动态报告的文件格式
我们在为 .Net 和 J2EE 编写的所有业务 Web 应用程序中生成动态报告。 在服务器端,我们使用 ActiveReports.Net 和 JasperReports 来生成报告。 然后我们将它们导出为 PDF 以发送到浏览器。
我们的客户都使用 Adobe Reader。 我们对不同版本的 Adobe Reader 以及它们在客户端上的设置方式有无数的问题。
其他人使用什么文件格式/阅读器来生成动态报告? 我们需要能够进行精确布局的东西,因为许多报告都是用外部系统的数据打印的表格。 HTML 的表现力不够。
We generate dynamic reports in all of our business web applications written for .Net and J2EE. On the server side we use ActiveReports.Net and JasperReports to generate the reports. We then export them to PDF to send down to the browser.
Our clients all use Adobe Reader. We have endless problems with the different versions of Adobe Reader and how they are setup on the client.
What file format/readers are others using for their dynamic reports? We need something that allows for precise layout as many of the reports are forms that are printed with data from out systems. HTML is not expressive enough.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
为此,我使用了 SQL Reporting Services。 您可以在 Visual Studio 中设计报告模板或在代码中动态生成报告的 XML。 然后,您可以让 SSRS 将报告导出为大约 10 种不同的格式并发送给客户端,包括 pdf、excel、html 等。您还可以编写自己的插件来导出为您自己的格式。
Crystal Reports 有类似的产品,价格更贵,但有更好的报表设计器。
I've used SQL Reporting Services for this purpose. You can design a report template in Visual Studio or generate the XML for the report on the fly in code. You can then have SSRS export the report to about 10 different formats and send to the client including pdf, excel, html, etc. You can also write your own plugin to export to your own format.
Crystal Reports has a similar product thats more expensive but has a better report designer.
我一直在使用 PDF 来实现这一目标方面取得了最大的成功。 我想不出一种更普遍接受的格式来完成您想要做的事情。 与其寻找另一种格式,也许最好尝试了解如何克服在客户端使用 Acrobat 时遇到的问题。 您能否提供有关您在使用 Acrobat 时遇到的问题类型的更多信息?
I've always had the most success using PDFs to accomplish this. I can't think of a more universally acceptable format that does what you are trying to do. Rather than looking for another format, perhaps it would be better to try to understand how to overcome the problems that you are experiencing with Acrobat on the client side. Can you provide some more information on the types of problems that you are experiencing with Acrobat?
我确实只知道 3(4) 种可能的查看器(格式)用于在浏览器中进行报告。
对于所有 3 个,都有报告解决方案。 Silverlight 太新了,我不知道解决方案。 您可以测试 Flash 和 Java 在 Intranet 中的工作方式,然后搜索报告解决方案。 我认为如果您使用最新的阅读器,PDF 应该会解决几个问题。 老读者有很多坏bug。
I does know only 3(4) possible viewer(formats) for reporting in browser.
For all 3 there are reporting solutions. Silverlight are to new and I does not know a solution. You can test how flash and Java in your intranet work and then search a reporting solution. I think PDF should be made the few problems if you use the newest readers. The old readers has many bad bugs.