Alberto contrib 20130822:
- The Model classes have been removed as an explicit part of the conversion process. If a Writer needs a model, then it is free to create some private class and use it. If a Writer doesn’t then there is no need to create one.
- The naming has been changed from …Model… to …Writer… . As there are no explicit models and the Writers have been called Writers the naming corresponds now to the usage.
- Every Writer has an abstract Writer as the root of its hierarchy. This abstract writer contains it’s ID
- The TableModel has been moved to the writer(s) package and renamed
- The HyperlinkModel has been moved to the writer(s) package and renamed
- org.docx4j.convert.out.common.ModelConverter is now org.docx4j.convert.out.common.Writer. The definition of the tag interface TransformState is contained in it and org.docx4j.model.TransformState deleted. In the toNode method the Model parameter has been replaced with the parameters that were passed to the build method of the Model.
- org.docx4j.convert.out.common.AbstractModelRegistry is now org.docx4j.convert.out.common.AbstractWriterRegistry. The creation of Models has been removed.
Alberto contrib 20130822: FormattingSwitchHelper.applyFormattingSwitch has an additional parameter WordprocessingMLPackage (FldSimpleModel lost this information with its superclass).  The method formatFoPageNumber has been removed (it is in org.docx4j.utils.FoNumberFormatUtil).
Alberto contrib 20130822: There is a lazy instantiation of the ImageManager (Tomcat had problems at shutdown with the static creation: the class loader of Tomcat checked the class for any memory leaks and this caused the creation of the ImageManager).
Alberto contrib 20130822: Removed some useless code from a previous incarnation (the class variables with the exporters and their “creation”).