开发者

Writing MS 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 开发者_如何学JAVA(by zipping it, etc), where I need to write Word 2007 XML with those respective tags. How can I do this?


docx4j


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜