plutext / docx4j-ImportXHTML

Converts XHTML to OpenXML WordML (docx) using docx4j
135 stars 124 forks source link

Request for clarification about docx4j-ImportXTHML-11.4.8 vs (docx4j-ImportXTHML-parent & -core 11.4.10) #103

Open mmonetha-sobis opened 3 months ago

mmonetha-sobis commented 3 months ago

Hi there,

we are using docx4j in our project. We've already been using docx4j-ImportXTHML (currently version 11.4.8), as well. While updating the other docx4j libraries to version 11.4.11 I noticed that the docx4j-ImportXTHML

  1. is not in sync with the version of the other libraries
  2. seems a bit abandoned when checking at mvnrepository

Is there a specific reason for both of my findings?

Additionally, I noticed that there is a version 11.4.10 of docx4j-ImportXHTML-parent and docx4j-ImportXHTML-core. What about these libraries? Do they act as a replacement for the seemingly abandoned library? Or do these serve a different purpose?

As one can clearly see I am a bit confused here, therefore this should act as a request for clarification.

plutext commented 3 months ago

https://github.com/plutext/docx4j-ImportXHTML/commit/3a2e2f14b14edcf6c2f2914d55b3519da0680d9b brings -ImportXHTML into sync with current releases of docx4j.

https://search.maven.org/artifact/org.docx4j/docx4j-ImportXHTML-core/11.4.10/jar is what you want, its a direct replacement for docx4j-ImportXTHML 11.4.8

mmonetha-sobis commented 3 months ago

Thank you very much for the quick answer. Two more things:

plutext commented 3 months ago

docx4j-ImportXHTML-parent shouldn't be in maven central; it is the parent project for core and samples, which you mvn install if you want to build https://github.com/plutext/docx4j-ImportXHTML yourself