word转换后多出很多横线.zip (583.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);
The issues you have found earlier (filed as WORDSNET-22130) have been fixed in this Aspose.Words for .NET 21.5 update and this Aspose.Words for Java 21.5 update.