Hi,
There are some italic style in the output html, when I’m using HtmlFixedSaveOptions to save a doc/docx files. Almost all words, except some Headings, are converted to italic style. Please help me, thanks.
Code:
Document doc = new Document(rootPath + fileName);
doc.joinRunsWithSameFormatting();
com.aspose.words.HtmlFixedSaveOptions sv2 = new com.aspose.words.HtmlFixedSaveOptions();
sv2.setPageIndex(0);
sv2.setPageCount(doc.getPageCount());
sv2.setPrettyFormat(true);
sv2.setExportEmbeddedCss(true);
sv2.setExportEmbeddedFonts(true);
sv2.setExportEmbeddedImages(true);
sv2.setFontFormat(ExportFontFormat.WOFF);
doc.save(rootPath + fileName + “.html”, sv2);