Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Disclosure: I lead the docx4j project</strong></p> <p>Although docx4j can also handle pptx and xlsx, it is mostly used for docx manipulation. By way of illustration, as at the time of writing, there are nearly 1000 topics in the <a href="http://www.docx4java.org/forums/docx-java-f6/" rel="noreferrer">docx4j forum</a>. The pptx forum has only 10% of the volume.</p> <p>Whatever you want to do with the docx document, docx4j ought to be able to help you. There's a <a href="http://www.docx4java.org/blog/2013/05/docx4j-in-a-single-page/" rel="noreferrer">single page overview</a> of a generic workflow.</p> <p>For many common requirements, docx4j provides higher level API. These include:</p> <ul> <li><p>Create/open/save docx (of course)</p></li> <li><p>Report/document generation, using a variety of approaches: (i) Variable substitution, (ii) XML data binding (particularly strong), and (iii) Mailmerge</p></li> <li><p>Export as HTML, XHTML</p></li> <li><p>Export as PDF (with font support)</p></li> </ul> <p>For anything else, you can manipulate the JAXB representation of the docx to your heart's content. JAXB is a Java community standard, included in Java 6, and with a strong alternative implementation in EclipseLink's MOXy. (POI uses XML Beans instead of JAXB)</p> <p>There's a <a href="http://www.docx4java.org/blog/2013/05/docx4jpptxxlsx-online-code-generation/" rel="noreferrer">web app</a> to help you explore a docx, and generate Java code to create corresponding Java objects.</p> <p>Of course, if there is some specific task you have in mind, it may be that docx4j or POI has a particular strength there.</p> <p>Both docx4j and POI are ASL v2 licensed.</p> <p>docx4j is actively maintained; its source code is <a href="https://github.com/plutext/docx4j/" rel="noreferrer">on GitHub</a>. </p> <p>In addition, commercial support is available for docx4j if you want it, as are several commercial extensions eg <a href="http://www.plutext.com/m/index.php/products" rel="noreferrer">MergeDocx</a>.</p> <p>docx4j does rely on POI as a library for <a href="http://poi.apache.org/poifs/index.html" rel="noreferrer">its implementation</a> of the OLE 2 Compound Document format, which we're grateful for.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload