Aspose.Words for Java word转html,word文档转换后竖着写的文字变成横的,并且有重叠

word文档转换后竖着写的文字变成横的,并且有重叠.zip (113.6 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,

为了更正,我们已将此问题记录在问题跟踪系统中。 此问题的ID为WORDSNET-21663。 我们将进一步调查该问题的详细信息,并让您及时了解更正的状态。 对于给您带来的不便,我们深表歉意。

@xiangma,

要变通解决此问题,请使用以下代码:(HtmlFixedSaveOptions.OptimizeOutput Property)

Document document = new Document("C:\\Temp\\224042\\in.doc");

HtmlFixedSaveOptions options = new HtmlFixedSaveOptions();
options.setOptimizeOutput(false);

options.setUseTargetMachineFonts(false);
options.setUseHighQualityRendering(true);
options.setEncoding(Charset.forName("UTF-8"));
options.setExportEmbeddedFonts(true);
options.setShowPageBorder(true);
document.acceptAllRevisions();
document.save("C:\\Temp\\224042\\output.html", options);

The issues you have found earlier (filed as WORDSNET-21663) have been fixed in this Aspose.Words for .NET 21.4 update and this Aspose.Words for Java 21.4 update.