Skip to content
achimmihca edited this page Jan 6, 2021 · 2 revisions

Welcome to the docx4j-ImportXHTML wiki!

Examples

For an example how to call this lib from Java see this file.

Maven Dependency

Find the versions on mvnrepository.com

Note that some docx4j libs are also required, notably for JAXB. For example, you could use JAXB-ReferenceImpl

<dependency>
    <groupId>org.docx4j</groupId>
    <artifactId>docx4j-ImportXHTML</artifactId>
    <version>8.0.0</version>
</dependency>

<dependency>
    <groupId>org.docx4j</groupId>
    <artifactId>docx4j-JAXB-ReferenceImpl</artifactId>
    <version>11.2.5</version>
</dependency>