Apache POI HWPF - 将表格输出到 Microsoft Word

发布于 2024-07-06 08:53:40 字数 127 浏览 3 评论 0原文

我已经谷歌搜索了很长一段时间,但没有找到明确的答案。 是否可以使用 Apache POI 输出表格? 看起来它还没有实现,因为主要开发人员大约 5 年前就停止了开发。

有没有 POI 的开源替代品可以做到这一点?

I've been Googling for quite awhile and haven't found a definitive answer. Is it possible to output a table using Apache POI? It looks like it hasn't been implemented, since the main developer stopped working on it like 5 years ago.

Is there an open source alternative to POI that can do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浊酒尽余欢 2024-07-13 08:53:40

我认为你是对的,Apache POI 已经死在水中了。 显然,它还不够迷人。

我知道的唯一替代方案是 iText,它可以生成 RTF MS Word(以及所有其他类似应用程序)可以读取的文档。 它包括完整的表支持。

当然,iText 也可以生成 PDF。

I think you're right in that Apache POI is dead in the water. Clearly it wasn't glamourous enough.

The only alternative that I'm aware of is iText, which can generate RTF documents, which MS Word (and every other similar application) can read. It includes full table support.

And, of course, iText can generate PDF also.

诗化ㄋ丶相逢 2024-07-13 08:53:40

如果 docx 和 java 都适合您,请尝试 docx4j

If docx and java are both ok for you, try docx4j

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文