开发者

Java: Apache POI Excel Spreadsheet GUI View

开发者 https://www.devze.com 2023-03-11 13:53 出处:网络
My java application is using Apache POI to rea开发者_开发技巧d/write Excel files. As far as I can see, Apache POI includes no support for an spread sheet view GUI.

My java application is using Apache POI to rea开发者_开发技巧d/write Excel files. As far as I can see, Apache POI includes no support for an spread sheet view GUI.

So my question is this: What is the best way to display an Excel-like spreadsheet view GUI within my application? I know I could parse in all of the spreadsheet info with POI and then output it in some custom java GUI components, but that would be really ghetto... especially with java's GUI (ew).

Any advice is appreciated. Thanks


If you open Excel sheets within Eclipse there is an internal view using the OLE / ActiveX interface. Maybe you can investigate in how Eclipse/SWT achieves this and do it the same way using a RCP application as viewer.


Aspose.cells can export to PDF. Your original question is vague - is just a display/printable ok, or does it have to be interactive?

0

精彩评论

暂无评论...
验证码 换一张
取 消