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 Tue Dec 02, 2025 12:30 am
News of docx4j String localPath = "DocFile.doc";
WordprocessingMLPackage mlPackage = Doc.convert(iStream);
String outputfilepath = "DocxFile.docx";
out.save(new File(outputfilepath));Total posts 10213 • Total topics 2877 • Total members 2103