Free Support Forum - aspose.com

The EQ fields disappeared when I convert docx to html

Hi

The document have a EQ fields,it is a equation . However, when I convert docx to html, it can not convert to image and it is missing.
I have try the lastest version of aspose for java.It still does not work.
I’ve been worried about this for a long, long time.I really hope your help.

zk.zip (12.9 KB)
Document doc = new Document(“zk.docx”);
HtmlSaveOptions hso = new HtmlSaveOptions();
hso.setEncoding(Charset.forName(“UTF-8”));
hso.setExportImagesAsBase64(true); //If this is removed, the result will be the same.
hso.setExportXhtmlTransitional(true);
hso.setCssStyleSheetType(CssStyleSheetType.EMBEDDED);
hso.setPrettyFormat(true);
hso.setSaveFormat(SaveFormat.HTML);
doc.save(“zk2.html”,hso);

Thanks!

@zhengkai

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 WORDSNET-17792. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.