Hi Aspose team,
I am using Aspose Word 17.2 to convert a Word file to a HTML file.
As a result, Some text positions are showing errors and some images (like arrows) are not consistent with the original file.
the java code I'm using:
public void html() throws Exception {
long start = System.currentTimeMillis();
createWordLicense("src/test/config/etc/aspose.lic");
Document document = new Document(
"custom/input/docx/HelloKitty-時程.docx");
HtmlSaveOptions op = new HtmlSaveOptions();
op.setExportTextInputFormFieldAsText(false);
op.setExportTocPageNumbers(true);
op.setExportPageSetup(true);
op.setExportDocumentProperties(true);
op.setExportRelativeFontSize(false);
op.setExportHeadersFootersMode(ExportHeadersFootersMode.FIRST_PAGE_HEADER_FOOTER_PER_SECTION);
op.setImagesFolder("custom/output/docx/aspose");
OutputStream out = new FileOutputStream(new File("custom/output/docx/Resume.html"));
document.save(out, op);
}
And I also uploaded the origin Word file and the convert result.
Please help me figure it out what happend, thanks.