htmlSettings.setImageTargetUri(inputfilepath.substring(inputfilepath.lastIndexOf("/")+1)
+ "_files");
javax.xml.transform.stream.StreamResult result = new javax.xml.transform.stream.StreamResult(os);
exporter.html(docx, result, htmlSettings );
wordMLPackage.getMainDocumentPart().getContent().addAll(
<BUG>XHTMLImporter.convert( new File(inputfilepath + ".html"), null, wordMLPackage) );
</BUG>
} else {
return;
}

htmlSettings.setImageTargetUri(inputfilepath.substring(inputfilepath.lastIndexOf("/")+1)
+ "_files");
javax.xml.transform.stream.StreamResult result = new javax.xml.transform.stream.StreamResult(os);
exporter.html(docx, result, htmlSettings );
wordMLPackage.getMainDocumentPart().getContent().addAll(
xHTMLImporter.convert( new File(inputfilepath + ".html"), null) );
} else {
return;
}
