Hi ,
We need to convert html to docx file.
The generated docx is not preserving the line spacing as in html file.
We need to generate the docx with exact line spacing as in html file. Any inputs are welcome.Thanks.
It is currently Mon Apr 27, 2026 6:27 am
News of docx4j String localPath = "DocFile.doc";
WordprocessingMLPackage mlPackage = Doc.convert(iStream);
String outputfilepath = "DocxFile.docx";
out.save(new File(outputfilepath));Total posts 10223 • Total topics 2881 • Total members 2105