如何使用 Apache POI 创建 Word 文档? [英] How to create a Word Document using Apache POI?

查看:65
本文介绍了如何使用 Apache POI 创建 Word 文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 Apache POI 创建 Word 文档?

How to create a Word Document using Apache POI?

我正在为 Atlassian Confluence 开发一个简历编辑器作为商业插件.

I am developing a Resume Editor for Atlassian Confluence as Commercial Plugin.

很抱歉我不得不问这个问题,但我找不到女巫可以帮助我的教程.

I am sorry I had to ask this but I do not find tutorials witch can help me.

推荐答案

您附加的代码文件DownloadAsMicrosoftWordDocument.java.txt"具有文件下载功能的编码;无需创建 Word 文档.

Your attached code file "DownloadAsMicrosoftWordDocument.java.txt" has a coding for file download functionality; no Word document creation.

当您寻找 Word 文档创建时,请在下面找到参考:

As you looking for Word Document creation, please find references below:

HWPF Reference(.doc): POI 主干没有 XWPF 那样的例子,但是 POI Scratchpad 有测试用例,请查找

HWPF Reference(.doc): POI trunk doesn't have examples as XWPF do, However POI Scratchpad has Testcases around it, please find

XWPF 参考 (.docx): 来自 Apache POI SVN 存储库的示例

XWPF Reference(.docx): Examples from Apache POI SVN Repo

同时参考 POI Javadocs 用于 XWPF(Word 文档).

And also refer POI Javadocs for XWPF (Word Document).

希望它能为您提供启动!

I hope it will provide startup for you!

这篇关于如何使用 Apache POI 创建 Word 文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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