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 Fri Jan 16, 2026 9:46 am
News of docx4j String localPath = "DocFile.doc";
WordprocessingMLPackage mlPackage = Doc.convert(iStream);
String outputfilepath = "DocxFile.docx";
out.save(new File(outputfilepath));Total posts 10218 • Total topics 2879 • Total members 2104