用于阅读 Word 文档的 Java 库 [英] Java library for reading Word documents

查看:31
本文介绍了用于阅读 Word 文档的 Java 库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于阅读 Word 文档(.docx 和旧的 .doc 格式)的开源 Java 库?

只读访问(如果足够);我不需要使用 Java 修改 Word 文档.但是,我想访问图像和样式信息.

编辑

我已经检查了 Apache POI,但它看起来并没有得到积极维护.见http://poi.apache.org/hwpf/index.html:><块引用>

不幸的是,目前我们没有人照顾 HWPF 并促进其发展.

解决方案

Apache POI HWPF .doc 和 XWPF .docx 文件

Is there an open-source Java library for reading Word documents (both .docx and the older .doc format)?

Read-only access if sufficient; I do not need to modify the Word documents using Java. However, I would like to have access to images and style information.

EDIT

I've checked out Apache POI, but it doesn't look like it is being actively maintained. See http://poi.apache.org/hwpf/index.html:

At the moment we unfortunately do not have someone taking care for HWPF and fostering its development.

解决方案

Apache POI HWPF for .doc and XWPF for .docx files

这篇关于用于阅读 Word 文档的 Java 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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