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 (96.1 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

您能否请ZIP并附上您的文档中使用的字体(“仿宋”和“仿宋_GB2312”)以进行测试? 我们将调查此问题并为您提供更多相关信息。