简体   繁体   English

读取Java中的Microsoft Word文档

[英]read microsoft word document in java

is there a simple way of reading a microsoft word document in java without using Apache POI package? 有没有不使用Apache POI包而在Java中读取Microsoft Word文档的简单方法?

Or what are other alternative to achieving the same without using Apache POI package? 或在不使用Apache POI软件包的情况下实现相同目的的其他替代方法是什么?

使用Java破解Office 2007可能会有所帮助。

有一个非常容易使用但商业化的商业替代方案-Aspose

java docx ? java docx? http://www.javadocx.com/ it's not much for reading, but for generating dynamic output. http://www.javadocx.com/并不是为了阅读,而是为了产生动态输出。

Sort of. 有点。 If it is a WordML file, you can unzip it and then manually extract the data from the XML files inside, but trust me, it is not a pleasant process. 如果它是WordML文件,则可以将其解压缩,然后从内部的XML文件中手动提取数据,但是请相信我,这不是一个令人愉快的过程。 When we tried to do it at my company we had hoped to be able to leverage some of the OOo libraries to clean up the documents and, well, it didn't work too well. 当我们在公司尝试这样做时,我们希望能够利用某些OOo库来清理文档,但是,它的工作效果不是很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM