轉帖|其它|編輯:郝浩|2010-11-12 14:41:26.000|閱讀 762 次
概述:ActiveReports for .NET 6.0的最新更新增加了一個非常實用的工具,可以把Crystal Reports報表(2005和2008版本)轉換為ActiveReports報表。本文主要介紹如何把Crystal Reports報表轉換為ActiveReports報表,希望對大家有幫助。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
ActiveReports for .NET 6.0的最新更新增加了一個非常實用的工具,可以把Crystal Reports報表(2005和2008版本)轉換為ActiveReports報表。ActiveReports的安裝程序會在“程序”啟動菜單“GrapeCity/ActiveReports 6”下增加兩個菜單。
1. 使用"CrystalToAR2005"工具轉換Crystal Reports 2005報表。
2. 使用"CrystalToAR2008"工具轉換Crystal Reports 2008報表。
為了運行上述轉換工具,你需要安裝Visual Studio和 Crystal Reports for Visual Studio。Visual Studio版本和對應的Crystal Reports版本如下:
Visual Studio |
版本 |
Crystal Reports |
2005 |
Professional, Team System |
Crystal Reports for Visual Studio 2005 |
2008 |
Professional, Team System |
Crystal Reports for Visual Studio 2008 |
轉換完成后,會生成一個ActiveReports的.rpx 報表文件。
轉換的報表元素對應表和相關說明如下:
Crystal Reports |
ActiveReports |
Note |
BoxObject |
Shape |
The line width property is not imported. |
ChartObject |
ChartControl |
The settings and data are not imported. |
CrossTabObject |
SubReport |
Cross tabs are not imported. |
LineObject |
Line |
The size of Dot and Dash (the Line Style property) is not exactly the same. |
PictureObject |
Picture |
Image data is not imported. |
SubreportObject |
SubReport |
You need to set the SubReport in code after the conversion. |
TextObject |
Label |
Only "page number", "total page" and "page n of m" from "Special Fields" are supported. |
FieldObject |
TextBox |
Only "page number", "total page" and "page n of m" from "Special Fields" are supported. |
存在的一些轉換限制:
· 一些ActiveReports不支持的元素、文字格式等將不會被導入。
· Shadow屬性不會被導入。
· OLE對象不會被導入,因為OLE對象在Crystal Reports對象結構中是作為PictureObject處理。
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自:博客轉載