问题描述
我想将Delphi 7项目迁移到Delphi 2010。我们正在使用Rave BE的TReportShell和TDetailShell组件构建代码中的报告。这些组件在Rave BE 7.7中不再存在。
此外,Rave BE()。
将这个项目移植到Delphi 2010的最佳解决方案是什么?
- 重新执行写入的代码TReportShell和TDetailShell使用新的TRvNDRWriter组件?
- 迁移到快速报告?
- 任何其他建议?
我们提供了一个开源报告构建器,从代码中使用。
包含在我们的SQlite3框架中的,但可以单独使用。
您可以从代码创建报告,然后可以在屏幕上进行预览。
您可以打印或导出报告为PDF格式。
请注意,报表图形使用GDI +,即使您在其中嵌入.emf文件或TMetaFile:使用抗锯齿,它们在屏幕上看起来光滑。
有一些报告专用的方法来创建报表,也是一个真正的Canvas属性,您可以在其中绘制所需的任何内容。
代码在上面的链接。只需右键单击报告预览即可查看选项。 我们框架的主要演示也使用代码中的这个报告。它比带驱动和组件驱动的报告构建器IMHO更方便。
它是免费的,在MPL / LGPL / GPL下许可,并从Delphi 6编译并运行到XE。即使在Delphi 2009之前,它也是100%的Unicode。
I want to migrate a Delphi 7 project to Delphi 2010.
We are building "reports in code" with TReportShell and TDetailShell components from Rave BE. Those components does not exist any more in Rave BE 7.7.
Moreover it seems that unicode support is broken in Rave BE ( Displaying unicode text in Rave Reports on Delphi 2009 ).
What sould be the best solution to port this project to Delphi 2010 ?
- Reimplement the code written aruond TReportShell and TDetailShell to use the new TRvNDRWriter component ?
- Migrate to Fast Report ?
- Any other suggestion ?
We provided an open source report builder, to be used from code.
It's a reporting unit included in our SQlite3 framework, but it can be used standalone...You create your report from code, then you can preview it on the screen.You can then print or export the report as PDF.Note that the report drawing uses GDI+, even if you embed .emf files or TMetaFile in them: with antialiaising, they just look smooth on screen.There are some report-dedicated methods to create the report, but also a true Canvas property, in which you can draw whatever you want.
There are sample code on the above link. Just right click on the report preview to see options. The main demo of our framework also makes use of this reporting from code. Much more handy than band-driven and component-driven report builders, IMHO.
It's free, licensed under MPL/LGPL/GPL, and compiles and run from Delphi 6 up to XE. It's 100% Unicode-ready, even before Delphi 2009.
这篇关于什么是Rave BE“在代码中报告” Delphi 2010迁移项目中的替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!