Releases: drmacro/wordinator
Release 1.1.2: Support Java 9+ Properly
Reworks the release package to use the base Wordinator jar and its dependency jars rather than the all-dependencies jar, which doesn't work correctly with Java 9+ due to how the log4j jars are set up to work with multiple Java versions.
No functional change from 1.1.1
Release 1.0.4
Minor enhancements:
- Support for literal footnote callouts
- Added color properties for table cell borders
Packaging:
- Release package now includes all dependency jars to work around issue with the all-dependencies jar not working with log4j under Java 11+
To run using dependency jars, include all the jars in the Java classpath, i.e., -cp "./lib/*"
and call class org.wordinator.docx.MakeDocx
This way of calling is demonstrated in the Ant build.xml in the top level of the release package:
<java classpath="${java.lib.dir}/*" classname="org.wordinator.xml2docx.MakeDocx" failonerror="true" fork="true">
<arg line="-i ${input.html}"/>
<arg line="-o ${output.dir}"/>
<arg line="-x ${html2docx.xsl}"/>
<arg line="-t ${html2docx.dotx}"/>
</java>
Use Saxon 10, Better Graphics Handling, Fix Numbering
Use latest Saxon and POI versions, fixed serious issue where numbering definitions were not copied, additional enhancements:
- Issue 11: Added support for catalog resolution with Saxon. Added new command-line option -k/-catalog that specifies a list of catalog files as for Saxon's -catalog option.
- Issue 15: Copy numbering definitions to the generated DOCX. Resolves issue with list paragraphs not having bullets or numbers when they should.
- Issue 16: Scale images proportionally when only one dimension is specified in the SWPX.
- Issue 18: Recognize "both" as a synonym for "justify" in base HTML-to-SWZPX tranform. Use "both" rather than "distribute" for "justify" in generated DOCX.
- Fixed issue with failure when using Saxon 9.9+ (failure to set global XSLT context).
- Upgraded to Saxon 10.0 HE and POI 4.1.2
Note that I accidentally skipped version 1.0.2.
Fix for Issue #8
Fixes a bug where @align values of "justify" or "char" on table cells would cause a Java failure.
Full Section Handling, Table Enhancements
Provides full support for multiple sections with section-specific running heads and feet and page geometry. This makes it possible to create Word documents for full multi-chapter publications and things like rotated pages, foldout pages, and so on.
Also significantly improves generation of tables with fixes for cell span generation, table and cell borders, and cell-level properties (including cell shading so you can set the background colors on cells).
With these improvements Wordinator is close to feature complete over what you can do with Word and is ready for production use.
Handle HTML5, Release Package, Useful Docs, Utility Scripts
Adds support for HTML5 as input as well as the beginnings of DITA-specific HTML-to-DOCX support.
Created a real release package with an Ant script to make running Wordinator from the command line or from OxygenXML easier.
Report command-line usage info when command line parameters are not correct.
No functional change to the DOCX generation itself.