除了将Apache POI Java用于Microsoft Office,还有其他选择吗? [英] Are there any alternatives to using Apache POI Java for Microsoft Office?

查看:386
本文介绍了除了将Apache POI Java用于Microsoft Office,还有其他选择吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现Apache POI可以用Java以编程方式对MS Office进行很多处理,但是它的文档让我很想做,还有其他一些事情.是否存在更好的替代方案?

I discovered Apache POI for doing a lot with MS Office programmatically in Java, but its documentation leaves me wanting, as well as a few other things. Does a better alternative exist?

我以为自己,OpenOffice.org可能有一些东西,但是找不到任何简洁的站点,该站点具有一个库,可以通过Java打开和存储Word,Powerpoint,Excel或其他MS Office应用程序.

I thought to myself that OpenOffice.org might have something, but cannot find any concise site that would have a Library that would allow you to open and store Word, Powerpoint, Excel, or other MS Office applications through Java.

还有更好的选择吗?

推荐答案

我认为POI是其他库中最好的.我不知道你为什么不喜欢它的原因

I think POI is the best among other libraries. I don't know the reason why you don't like it

Excel .xls& .xlsx

HSSF是POI项目对Excel '97(-2007)文件格式的纯Java实现. XSSF是POI项目对Excel 2007 OOXML(.xlsx)文件格式的纯Java实现.

HSSF is the POI Project's pure Java implementation of the Excel '97(-2007) file format. XSSF is the POI Project's pure Java implementation of the Excel 2007 OOXML (.xlsx) file format.

Word .doc& .docx

HWPF是Microsoft Word 97(-2007)文件格式到纯Java的端口名称.它还为较旧的Word 6和Word 95文件格式提供了有限的只读支持. 新的Word 2007 .docx格式的HWPF的合作伙伴是XWPF.虽然HWPF和XWPF提供类似的功能,但目前两者之间没有公共接口.

HWPF is the name of our port of the Microsoft Word 97(-2007) file format to pure Java. It also provides limited read only support for the older Word 6 and Word 95 file formats. The partner to HWPF for the new Word 2007 .docx format is XWPF. Whilst HWPF and XWPF provide similar features, there is not a common interface across the two of them at this time.

无论如何,这里有一些图书馆: 尝试 Aspose java2word

anyway here are some libraries : Try Aspose and java2word

这篇关于除了将Apache POI Java用于Microsoft Office,还有其他选择吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆