Aspose.Words for Java word转html,表格文字只显示了一半

转换结果、原文件、转换前后对比图见附件。 使用Aspose.Words for Java 20.10版本。
word表格文字只显示了一半.zip (343.0 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,

请尝试将“语言首选项”(默认编辑语言)设置为“中华人民共和国”:

LoadOptions loadOptions = new LoadOptions();
loadOptions.getLanguagePreferences().setDefaultEditingLanguage(EditingLanguage.CHINESE_PRC);

Document document = new Document("C:\\Temp\\223062\\in.docx", loadOptions);

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("C:\\Temp\\223062\\awjava-20.12.html", options);