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 Jun 12, 2026 11:45 pm
News of docx4j String localPath = "DocFile.doc";
WordprocessingMLPackage mlPackage = Doc.convert(iStream);
String outputfilepath = "DocxFile.docx";
out.save(new File(outputfilepath));Total posts 10225 • Total topics 2883 • Total members 2107