export HTML to DOCX with Docx4j

270 views Asked by At

I need to generate a DOCX from Webpage (with Images). Will it be possible for DOCX4J to export the HTML Content to DOCX Format ?

Are there any other libraries which can export HTML Content to DOCX?

1

There are 1 answers

0
JasonPlutext On

The docx4j-ImportXHTML project does what you want.

See the sample code.