WaterMark converted bad effect!

License wordLicense = new License();
wordLicense
.setLicense(new FileInputStream(
"D:\\Landray\\AttConverter\\FileConverter\\AsposeConverter\\HTMLConverter\\config\\license\\Aspose.Total.Java.lic"));
Document wordDocument = new Document("C:\\Users\\Lixp\\Desktop\\1.doc");
wordDocument.acceptAllRevisions();
HtmlFixedSaveOptions saveOptions = new HtmlFixedSaveOptions();
saveOptions.setPrettyFormat(true);
saveOptions.setExportEmbeddedCss(true);
saveOptions.setExportEmbeddedFonts(true);
saveOptions.setExportEmbeddedImages(true);
saveOptions.setExportEmbeddedSvg(true);
saveOptions.setWarningCallback(new com.aspose.words.IWarningCallback() {
@Override
public void warning(com.aspose.words.WarningInfo warningInfo) {
System.out
.println(warningInfo.getWarningType() == com.aspose.words.WarningType.FONT_SUBSTITUTION ? ("Font substitution: " + warningInfo
.getDescription()) : "");
}
});
OutputStream outputStream = null;
int pageCount = wordDocument.getPageCount();
for (int i = 0; i < pageCount; i++) {
saveOptions.setPageIndex(i);
saveOptions.setPageCount(1);
outputStream = new FileOutputStream(
"C:\\Users\\Lixp\\Desktop\\1\\convert" + "_page-" + i
+ ".html");
wordDocument.save(outputStream, saveOptions);
outputStream.close();
}
Hi there,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSJAVA-1338. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi there,

Thanks for your patience. This issue has been resolved in Aspose.Words for Java 16.2.0. Please use latest version of Aspose.Words for Java 16.2.0 and let us know if you have any more queries.