生成具有动态内容和样式的报告 [英] Generate Reports with dynamic content and styling
问题描述
我们正在开发一个应用程序,该应用程序还必须生成特定于用户的报告.
We are developing an application which also has to generate user-specific reports.
我们在JSP中有一些项目,在C#WPF中有一些.我们当前的要求是从JSP应用程序生成报告.
We have some projects in JSP and some in C# WPF. Our current requirement is to generate reports from the JSP application.
这些报告中的模板具有不同的样式属性,例如:
The template in these reports have different style attributes, such as:
- 在生成的PDF中具有一个复选框
- 为表格单元格提供背景颜色
- 垂直文字
- 某些地方有一些形状(例如直线,三角形等)
这些报告中的数据是动态的,可以从数据库中作为数据集获得.
The data in these reports is dynamic, and is obtained as a Data Set from the database.
有人可以建议我哪种API/工具最适合完成这些任务吗?在我们一直使用XSL-FO的同时,我个人感觉,对于仅生成一个报表来说,这是太多的努力.
Can anyone please suggest me which API/tool is ideal to do these tasks? All the while we have been using XSL-FO and I personally feel, it is too much effort for just one report generation.
有没有语言/域无关的工具? (以便我们可以在所有Java/C#应用程序中使用它)
Is there any tool which is language/domain independent? (So that we could use it in all our Java/C# applications)
如果没有,请让我知道从JSP应用程序生成报告的最佳工具/API.
If not, let me know the best tool/API to generate reports from JSP application.
推荐答案
您正在描述两个单独的问题.我对中间件没有意见,但是对于演示,我更喜欢使用 http://devexpress.com /Products/NET/Reporting/和一些自定义代码.
You're describing two separate problems. I don't have an opinion on middleware, but for presentation I prefer to use http://devexpress.com/Products/NET/Reporting/ with some custom code.
这篇关于生成具有动态内容和样式的报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!