源文件内容如图:
保存后的目标文件如图:
使用的代码如下:
代码.zip (1.8 KB)
#源文件是T (2).doc,目标文件是T (2)_dst.doc,在下面的压缩包中;
文件.zip (20.7 KB)
源文件内容如图:
保存后的目标文件如图:
使用的代码如下:
代码.zip (1.8 KB)
#源文件是T (2).doc,目标文件是T (2)_dst.doc,在下面的压缩包中;
文件.zip (20.7 KB)
源文件是T (15).doc,保存的目的文件是T (15)_dst.doc
@aspose1111
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-26144
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
是因为Aspose.Words.dll的版本太低导致的吗?我用的是23.7的版本,换新版本能不能解决这个问题?
ok,非常感谢你的解答!!!
@aspose1111 我们已经完成了分析。 实际上,这看起来像是一些 Word 的错误,因为输出文件在有问题的运行时具有下划线属性:
转换为DOCX文件也有同样的问题。 我们可以看到实际上仍然存在下划线属性:
所以,这不是 Aspose.Words 的错误。
此行为由 CompatibilityOptions.UlTrailSpace 选项控制,该选项在源文档中设置,但不在目标文档中设置。 不幸的是,这个选项不公开。 因此,作为解决方法,您可以使用原始文档的克隆作为目标文档来保留“CompatibilityOptions.UlTrailSpace”选项。
The issues you have found earlier (filed as WORDSNET-26144) have been fixed in this Aspose.Words for .NET 24.4 update also available on NuGet.