We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Words for Java word转html,word转换后签章偏移到表格上

word转换后签章偏移到表格上.zip (553.7 KB)

代码:

Document document = new Document(sourceFileName);
HtmlFixedSaveOptions options = new HtmlFixedSaveOptions();
options.setUseTargetMachineFonts(false);
options.setUseHighQualityRendering(true);
options.setEncoding(Charset.forName(“UTF-8”));
options.setExportEmbeddedFonts(true);
options.setShowPageBorder(true);
document.acceptAllRevisions();
document.save(targetFileName, options);

@xiangma,

正如您在另一个线程中提到的:

在将您的 Word DOCX 文档转换为 HTML 固定文件格式时,请将默认编辑语言设置为 Chinese PRC: