Page 1 of 1

docx4j 3.1.0 released

PostPosted: Wed Apr 23, 2014 10:15 pm
by jason
docx4j 3.1.0 is now available for download.

See below for description of changes, but they are mainly:

- improvements to docx PDF output

- events infrastructure, allowing a listener to subscribe to track progress of time consuming tasks

The main reason for labelling it version 3.1.0 (as opposed to 3.0.2) is because an additional dependency mbassador 1.1.10 jar is introduced (for the events infrastructure requires ); You can get it from http://search.maven.org/#artifactdetail ... 0%7Cbundle or http://www.docx4java.org/docx4j/docx4j- ... 1.1.10.jar See further https://github.com/bennidi/mbassador and docx-java-f6/nightly-20140403-requires-mbassador-jar-t1852.html


Notable Changes in Version 3.1.0
---------------------------------

Events infrastructure, allowing a listener to subscribe to track progress of time consuming tasks (eg PDF output).
See for example https://github.com/plutext/docx4j/blob/ ... gDemo.java

FO/PDF output: suitable room for header/footer


Other Changes (non-exhaustive)
------------------------------

Part remove - new method
VbaDataPart - namespace qualify attributes

Fonts on Mac OSX - avoid NPE

docx Binding fixes for case where OpenDoPE parts are not present

docx fix for non-conformant Google Docs docx

docx PDF (and XSL FO) output
- TOC dot leader tabs
- soft return reduce vertical space
- computed style improvements for p in table
- Arabic numbering
- Arabic/Hebrew output: w:pPr/w:bidi and w:rPr/w:rtl handling
- Support bidiVisual property, to layout columns in rtl order for eg Hebrew
- Chinese improvements

pptx
- slides: use UTF-8, irrespective of default encoding

xlsx
- add bookViews/workbookView to workbook to ensure Excel 2010 doesn't crash when printing

Re: docx4j 3.1.0 released

PostPosted: Thu Apr 24, 2014 3:07 pm
by pmonks
It appears this version was compiled for Java 8, preventing its use on earlier JDK versions. Was this intentional or does the new version require Java 8?

Re: docx4j 3.1.0 released

PostPosted: Thu Apr 24, 2014 5:24 pm
by jason
I believe docx4j (and the other jars) are compiled for 1.5, with the exception of mbassador-1.1.10.jar, which is 1.6.

So says https://github.com/plutext/docx4j/blob/ ... Check.java

I have my Eclipse set to compiler compliance level 1.6, and don't have Java 8 installed (yet..).

Re: docx4j 3.1.0 released

PostPosted: Sat Apr 26, 2014 10:24 am
by pmonks
You're right - it was another library that had the JDK8 class in it. Thanks for responding!