wordpress hit counter
WordProcessingML document creation in pure Java - OpenXML Developer - Blog - OpenXML Developer

WordProcessingML document creation in pure Java

Blog

Samples, Demos, and Reference Articles

WordProcessingML document creation in pure Java

Rate This
  • Comments 2

Much of the activity around the Open XML Formats has been related to Microsoft Office 2007, because that's the most widely used software that supports the standard.  But as developers being working with Open XML Formats in other environments, you'll see many implementations that don't use Microsoft tools or APIs at all.

This article is an example of such an implementation.  Written by a team of developers at Sonata Software, the article shows step-by-step how to write Java code that generates a valid Open XML Format word-processing document.

There are two groups of developers who will find this article especially useful:

Developers working in non-Microsoft environments, such as Java on Linux or Mac OS.  This article will show you how to create Open XML Format documents with the tools you already know and use every day.

Developers building a server-side document assembly applications (in any environment).  This article will show you how to assemble Open XML Format documents from other data sources (such as line of business applications or content-management applications) in a highly scalable architecture that requires no use of the Office clients.

Attachment: WordDocument Creation using JAVA.doc
  • Yes, there will be .NET samples of creating documents from scratch soon, using the packaging API.  There has been some great content shown at this week's Office Devcon the last two days, and we're pulling some of that together for the site.

    - Doug
  • i used the sample code in this example and tried opening the docx file with word viewer 2007 and it gave me an error. any ideas? has anyone tried this recently? thanks
Page 1 of 1 (2 items)