docx4j v6.0.0 Release Notes
Release Date: 2018-07-22 // almost 6 years ago-
๐ Docx4j 6.x will be the last series supporting Java 6.
๐ (docx4j 7.x, when released, will require Java 7+)๐ New dependency commons-compress used for zip/unzip. Most other โก๏ธ deps updated to last version supporting Java 6.
๐ Support for Java 9 and 10 (see notes in README for use in Eclipse)
- Maven profiles for java 9 and 10
- Maven pom now specifies source & target 1.6 (previously 1.5)
Preserve mc:AlternateContent in a run. Previously, this would have caused mc-preprocessor to be invoked, selecting one of the pieces of content.
Object model for wps http://schemas.microsoft.com/office/word/2010/wordprocessingShape
Content Control databinding (and OpenDoPE)
- โก๏ธ UpdateXmlFromDocumentSurface: Copy content control content back to the custom XML part, like Microsoft Word does for a content control which has a w:databinding element
- ๐ improvements to migration (from eg VariableReplace)
- ๐ better support for binding standardised Answers format
- various other improvement
Write docx4j version as XML comment in MainDocument part.
New properties docx4j.openpackaging.parts.MAX_BYTES.unzip.error and docx4j.openpackaging.parts.MAX_BYTES.unmarshal.error which can be ๐ป set to positive values to have docx4j throw a PartTooLarge exception if a part is larger than the set value.