Does anyone know of a Reporting Engine for WPF? Most of the ones I could find are still for WinForms.
有谁知道WPF的报告引擎?我能找到的大多数仍然是WinForms。
I'm happy enough using a WinForms one in WPF with a WinForms host so long as the tool has a UserControl that can be embedded in a window.
我很高兴在WPF中使用WinForms和WinForms主机,只要该工具有一个可以嵌入窗口的UserControl。
Also, I'm not using a database and all my data is in XML so the Reporting Engine needs to be able to handle that.
此外,我没有使用数据库,我的所有数据都是XML格式,因此报表引擎需要能够处理。
Any suggestions?
有什么建议么?
7 个解决方案
#1
6
Perhaps you can do the reporting in a FixedDocument of FlowDocument? I had the same issue, and in my situation (printing of a 1 page invoice), using a FixedDocument was an elegant and easy solution... (and inexpensive since i didn't need to buy a 3rd party reporting suite...)
也许你可以在FlowDocument的FixedDocument中进行报告?我有同样的问题,在我的情况下(打印1页发票),使用FixedDocument是一个优雅而简单的解决方案......(而且价格低廉,因为我不需要购买第三方报告套件...... )
#2
3
We've ended up going with Telerik, but as a WinForms solution embedded in WPF. There are no WPF report viewers that can handle non-database report sources as of Jan 2009.
我们最终使用Telerik,但作为嵌入在WPF中的WinForms解决方案。截至2009年1月,没有可以处理非数据库报告源的WPF报告查看器。
There seems to be a hole in the marketplace.
市场似乎有一个漏洞。
#3
2
There is an open source .NET Reporting Engine for WPF. It supports headers and footers, DataTable binding, barcode generation and XPS creation. Not sure about XML binding though.
有一个用于WPF的开源.NET Reporting Engine。它支持页眉和页脚,DataTable绑定,条形码生成和XPS创建。但不确定XML绑定。
#4
1
Here where I work, we use Stimulsoft Reports.Net. It can bind to a lot of things (including XML), and it can export to XPS, which you can then show in WPF using a DocumentViewer, or, if you're ambitious, you can rip open the XPS document using the XPS API, take the Glyphs and Paths out of every FixedPage, throw them on a Canvas, and display it in your app.
我在这里工作,我们使用Stimulsoft Reports.Net。它可以绑定到很多东西(包括XML),它可以导出到XPS,然后你可以使用DocumentViewer在WPF中显示,或者,如果你雄心勃勃,你可以使用XPS API来打开XPS文档,从每个固定页面中取出字形和路径,将它们放在画布上,并将其显示在您的应用程序中。
#5
1
ComponentOne Reports can handle non database report sources and it is WPF based. I tried it, and it seems quite decent
ComponentOne Reports可以处理非数据库报告源,它基于WPF。我试过了,看起来很不错
#6
0
also the following report engine could be useful too. http://www.eggheadcafe.com/tutorials/aspnet/22ac97f3-4a3d-4fee-a411-e456f77f6a90/wpf-report-engine-part-3.aspx
以下报告引擎也可能有用。 http://www.eggheadcafe.com/tutorials/aspnet/22ac97f3-4a3d-4fee-a411-e456f77f6a90/wpf-report-engine-part-3.aspx
#7
0
I have released this, its open source and just takes any usercontrol you can create in WPF so its pretty flexible.
我发布了这个,它的开源,只需要你可以在WPF中创建的任何用户控件,所以它非常灵活。
https://wpfreportingengine.codeplex.com/
https://wpfreportingengine.codeplex.com/
#1
6
Perhaps you can do the reporting in a FixedDocument of FlowDocument? I had the same issue, and in my situation (printing of a 1 page invoice), using a FixedDocument was an elegant and easy solution... (and inexpensive since i didn't need to buy a 3rd party reporting suite...)
也许你可以在FlowDocument的FixedDocument中进行报告?我有同样的问题,在我的情况下(打印1页发票),使用FixedDocument是一个优雅而简单的解决方案......(而且价格低廉,因为我不需要购买第三方报告套件...... )
#2
3
We've ended up going with Telerik, but as a WinForms solution embedded in WPF. There are no WPF report viewers that can handle non-database report sources as of Jan 2009.
我们最终使用Telerik,但作为嵌入在WPF中的WinForms解决方案。截至2009年1月,没有可以处理非数据库报告源的WPF报告查看器。
There seems to be a hole in the marketplace.
市场似乎有一个漏洞。
#3
2
There is an open source .NET Reporting Engine for WPF. It supports headers and footers, DataTable binding, barcode generation and XPS creation. Not sure about XML binding though.
有一个用于WPF的开源.NET Reporting Engine。它支持页眉和页脚,DataTable绑定,条形码生成和XPS创建。但不确定XML绑定。
#4
1
Here where I work, we use Stimulsoft Reports.Net. It can bind to a lot of things (including XML), and it can export to XPS, which you can then show in WPF using a DocumentViewer, or, if you're ambitious, you can rip open the XPS document using the XPS API, take the Glyphs and Paths out of every FixedPage, throw them on a Canvas, and display it in your app.
我在这里工作,我们使用Stimulsoft Reports.Net。它可以绑定到很多东西(包括XML),它可以导出到XPS,然后你可以使用DocumentViewer在WPF中显示,或者,如果你雄心勃勃,你可以使用XPS API来打开XPS文档,从每个固定页面中取出字形和路径,将它们放在画布上,并将其显示在您的应用程序中。
#5
1
ComponentOne Reports can handle non database report sources and it is WPF based. I tried it, and it seems quite decent
ComponentOne Reports可以处理非数据库报告源,它基于WPF。我试过了,看起来很不错
#6
0
also the following report engine could be useful too. http://www.eggheadcafe.com/tutorials/aspnet/22ac97f3-4a3d-4fee-a411-e456f77f6a90/wpf-report-engine-part-3.aspx
以下报告引擎也可能有用。 http://www.eggheadcafe.com/tutorials/aspnet/22ac97f3-4a3d-4fee-a411-e456f77f6a90/wpf-report-engine-part-3.aspx
#7
0
I have released this, its open source and just takes any usercontrol you can create in WPF so its pretty flexible.
我发布了这个,它的开源,只需要你可以在WPF中创建的任何用户控件,所以它非常灵活。
https://wpfreportingengine.codeplex.com/
https://wpfreportingengine.codeplex.com/