编写 MS Word 2007 XML

发布于 2024-08-22 12:27:29 字数 161 浏览 4 评论 0原文

我如何自己编写 Word 2007 XML (WordProcessingML)?我有一个这样做的要求,我需要为Word 模板编写Word 2007 XML 格式。重要的是我应该将 Word 模板文档转换为 XML(通过压缩等方式),其中我需要使用这些相应的标签编写 Word 2007 XML。我该怎么做?

How would I write Word 2007 XML (WordProcessingML) on my own? I have a requirement to do so, where I need to write a Word 2007 XML format for a Word template. The important thing is I should convert a Word template doc to XML (by zipping it, etc), where I need to write Word 2007 XML with those respective tags. How can I do this?

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

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

发布评论

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

评论(3

与酒说心事 2024-08-29 12:27:29

我不确定你所说的“自己”是什么意思,但是有一个现有的 API 可以实现此目的:

Apache POI - Microsoft Documents 的 Java API

如果它不能满足您的需要,只需扩展它即可。

I'm not sure what you mean by "on your own," but there is an existing API for this:

Apache POI - the Java API for Microsoft Documents

If it doesn't do what you need it to, just extend it.

蓝梦月影 2024-08-29 12:27:29

转至 OpenXMLDeveloper - 您可以在那里获取有关 WordprocessingML 的大部分信息以及指向其他地方的链接。

Go to OpenXMLDeveloper - you can get most of the information there on WordprocessingML and links out to other places.

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