原創|使用教程|編輯:何家巧|2022-11-18 15:26:05.330|閱讀 202 次
概述:我們在 JasperReports 添加了一個新的導入功能,如果要使用它,需要到 FastReport .NET 設計器中的“文件”菜單并選擇“打開...”,接下來一起看看操作過程。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關鏈接:
	
 
我們在 JasperReports 添加了一個新的導入功能,如果要使用它,需要到 FastReport .NET 設計器中的“文件”菜單并選擇“打開...”。在出現的窗口中,選擇過濾器“JasperReports 文件 (*.jrxml)”。所選文件將自動轉換為 FastReport .NET 報表并在設計器中打開。
生成的導入報告可能會有所不同,而且很可能您必須對其進行最終確定——更改對象的屬性并添加連接。| 功能 | FastReport .NET | JasperReports | 
| Report objects | ||
| Text | + | + | 
| Figure | + | + | 
| Image | + | + | 
| SVG | + | + | 
| Subreport | + | + | 
| Service text | + | — | 
| Diagram | + | + | 
| Barcode | + | + | 
| 2D barcode | + | + | 
| Map | + | + | 
| ZIP code | + | — | 
| Text in cells | + | — | 
| Rich Text | + | + | 
| Gradient | + | — | 
| Cross-tab (Matrix) | + | + | 
| Advanced Matrix (AdvMatrix) | + | — | 
| Table | + | + | 
| Container | + | + | 
| Indicator | + | + | 
| Checkbox | + | — | 
| Spark graph | + | — | 
| HTML | + | + | 
| Digital signature | + | — | 
| Reporting functions | ||
| Reporting functions | + | — | 
| Dialogue Forms | + | — | 
| Report Inheritance | + | + | 
| Master-detail-subdetail | + | + | 
| Drill-downs | + | — | 
| Grouping | + | + | 
| Sorting | + | + | 
| Headers and footers | + | + | 
| URLs and hrefs | + | + | 
| HTML tags in text objects | + | + | 
| Dimensionless pages | + | — | 
| Preview component | + | + | 
| Report designer in the development environment | + | + | 
| Report designer in the executable program | + | + | 
| High DPI support | — | + | 
| Visual SQL Query Builder | + | — | 
| Interface languages |  |  | 
從 JasperReports 導入到 FastReport .NET 時的報告示例
這是在 JasperReports 試用版中構建的原始版本:
	
 
導入結果略有改進:
	
 
這些示例中有一個明顯的區別:表格占用的頁面部分在行數相同的情況下是不同的——這是由于文本行之間的空間不同。
我們來看另一份報告,其中包含 Code 128、Codabar、2/5 Interleaved、2/5 Industrial 條碼。
	
 
您可以在以下屏幕截圖中看到轉換為 FastReport 設計器的結果:
	
 
這種導入允許 FastReport 用戶準確、快速地從 JasperReports 轉換他們的報告,可以在我們的設計器中遷移和構建熟悉的報告減少所需的工作量。
關于將報告從 JasperReports 導入到 FastReport .NET就到這里了,點擊查看FastReport .Net使用教程。
FastReport技術QQ群:536197826  歡迎進群一起討論
	
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@ke049m.cn