Hi everyone,
Im a newbie in docx4j and I'm facing some troubles when transforming docx to html and vice versa.
Firstly, I'm transforming a docx file into Html. It should be noted that this document has a table of contents. When I'm rendering this Html, the dots in the TOC are missing.
InputStream is = resultDoc.getFileStream();
WordprocessingMLPackage wordMLPackage = Docx4J.load(is);
File home = new File(System.getProperty("user.dir")).getParentFile().getParentFile();
removeSDTs(wordMLPackage);
HTMLSettings htmlSettings = Docx4J.createHTMLSettings();
htmlSettings.setImageDirPath(home);
htmlSettings.setWmlPackage(wordMLPackage);
OutputStream out = ...