简体   繁体   English

使用Crystal Report XI引擎将Crystal Report 8.5导出到rtf

[英]Exporting Crystal report 8.5 to rtf using the Crystal Report XI engine

I have a bunch of Crystal Reports 8.5 reports which I need to run using the .NET Crystal Reports engine. 我有一堆Crystal Reports 8.5报告,需要使用.NET Crystal Reports引擎运行。 All is fine except the fact that exporting to rtf scrambles the formatting of the report. 除导出到rtf会扰乱报告的格式外,其他都很好。 Through many hours of testing I found out the following: 经过数小时的测试,我发现了以下内容:

  • when running the report, with no export the formatting is ok 运行报告时,不导出就可以了
  • any export using the CR XI engine wrecks the formatting 使用CR XI引擎的任何导出都会破坏格式

  • exporting from the CR 8.5 engine to RTF shows results scrambled in newer versions of MS Word, but correct in older versions. 从CR 8.5引擎导出到RTF时,结果显示在MS Word的较新版本中混乱,但在较旧的版本中正确。

Can anyone tell me what I'm doing wrong? 谁能告诉我我在做什么错? I need to export from CR XI the reports made in CR 8.5 and I obviously need them to keep their formatting. 我需要从CR XI导出CR 8.5中的报告,显然我需要它们保持其格式。

From what you are describing, this looks like a dll issue to me. 从您的描述来看,这对我来说似乎是dll问题。 CR 8.5 is quite old and more and more issues are coming up with never OSs. CR 8.5的历史很悠久,而且从未有OS出现了越来越多的问题。 I don't have it any more, but a quick search on the matter yielded some results. 我已经没有了,但是对此事的快速搜索产生了一些结果。 To correct the CR 8.5 export problem you need to have two updated dll files on your client computers and registered them with regsvr32: 要更正CR 8.5导出问题,您需要在客户端计算机上具有两个更新的dll文件,并在regsvr32中注册它们:

crtslv.dll version 8.6.1.252 or later exportmodeller.dll version 8.6.1.37 or later crtslv.dll版本8.6.1.252或更高版本exportmodeller.dll版本8.6.1.37或更高版本

These two files can be found in C:\\Program Files\\Common Files\\Crystal Decisions\\2.0 or 2.5 folder after you install one of the Crystal Reports 8.5 Service Packs. 安装Crystal Reports 8.5 Service Pack之一后,可以在C:\\ Program Files \\ Common Files \\ Crystal Decisions \\ 2.0或2.5文件夹中找到这两个文件。

Note: crtslv.dll version 8.5.x or earlier and exportmodeller.dll version 8.5.x or earlier cannot work. 注意:crtslv.dll 8.5.x或更早版本和exportmodeller.dll 8.5.x或更早版本不能正常工作。 The other CR files don't have to be from the Service Pack. 其他CR文件不必来自Service Pack。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM