Welcome to docx4j
docx4j is a Java library for creating and manipulating Microsoft Open XML (Word docx, Powerpoint pptx, and Excel xlsx) files.
It is similar to Microsoft's OpenXML SDK, but for Java.
docx4j uses JAXB to create the in-memory object representation.
It is available under the Apache License (v2).
docx4j was created by Plutext Pty Ltd in 2008 - using OpenXML4J for the OPC piece. Plutext still drives the project, but since then docx4j has benefited from contributions from many individuals. The contributors are listed in docx4j's pom.xml.
26 Nov 2013: docx4j 3.0 is available
15 Nov 2013: docx4j 3.0 beta 2 is available; final release is expected ~26 Nov
14 May 2013: docx4j online webapp which can generate docx4j code for you
30 September 2012: docx4j 2.8.1 released. See details
24 May 2012: docx4j 2.8.0 released. See related post
14 October 2011: docx4j v2.7.1 released. See related post
8 July 2011: docx4j v2.7.0 released. See related post
18 Nov 2010: docx4j v2.6.0 is out (includes pptx4j and xlsx4j). It includes OpenDoPE ("Open Document Processing Ecosystem") v2.2 implementation for generating documents using repeats, conditionals and optionally, component inclusion. Using a content control databinding is a much better approach than search/replace for magic strings, or use of legacy fields!
docx4all is an open source cross platform WYSIWYG editor for docx files, written in Java Swing and JavaFX Script, released under the GPL
DocxEditorKit can open docx files and display the content in JEditorPane (or JTextPane), and save back to docx format.
GDocx is a fluent interface for docx4j.
XPages PDF output
Linda Van der pal at Devoxx UK, 26-27 March 2013, [ http://http://www.devoxx.com/display/UK13/Docx4j+-+Generating+Word+and+Excel+files Docx4j Generating Word and Excel files]
Devoxx, Belgium, Nov 2012, [ http://www.devoxx.com/display/DV12/Docx4j+-+Generating+Word+and+Excel+files Docx4j Generating Word and Excel files]
Open Source Developers Conference, Sydney, Dec 2012 Generating documents - tools and techniques
The HTML version is also available in the following languages (these translations are from April 2010, so they are a bit dated now):
Articles about docx4j
lvdpal's Creating Word documents with Docx4j, which covers tables in some detail
Свое представление (view) в Spring MVC (Russian)
Thanks people for taking the time to write these articles :-). Please let me know of any others.