Welcome! 登入 註冊
美寶首頁 美寶百科 美寶論壇 美寶落格 美寶地圖

Advanced

FineReport自定義參數界面

Posted by frlily 
FineReport自定義參數界面

分類標籤: 資訊
FineReport自定義參數界面
1.寫一個Java文件如SaveReportAction所示,其包名為com.demo,編譯這個Java文件為類文件,保存到設計器的classpath下面

2.打開設計器,主菜單 | 窗口 | 選項,打開對話框導出菜單配置文件
[img]http://www.finereport.com/forumimages/e2.png[/img]

3修改menu.xml
[img]http://www.finereport.com/forumimages/e3.png[/img]


4.再次打開設計器,主菜單 | 窗口 | 選項,打開對話框,指定菜單配置文件的目錄為D:\menu.xml
 ,報表工具;
[img]http://www.finereport.com/forumimages/e4.png[/img]

5.重啟設計器,可以看到File菜單下多了一個」保存」按鈕
[img]http://www.finereport.com/forumimages/e5.png[/img]