I want to convert word to pdf ,but my word contains comment

fisrt,When my word contains comments and there are replies to the comments, the original part of the text displayed in the converted pdf is not highlighted,
my code

String path = "/Users/icourt/Downloads/批注修订版_股权代持协议-测试_一轮-实际出资人.docx";
Document document = new Document(path); 
document.save("/Users/icourt/Downloads/试i31据33rd.pdf", SaveFormat.PDF); 

my word
批注修订版_股权代持协议-测试_一轮-实际出资人.docx
批注修订版_股权代持协议-测试_一轮-实际出资人.docx (22.5 KB)
my pdf
试i31据33rd.pdf (233.3 KB)

com.aspose
aspose-words
20.1.0

@haijie
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-26530

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.

不好意思,可以直接给一个跳转链接吗?我知道应该去哪里检索

@haijie 该问题已记录在我们的内部跟踪系统中。 公众无法访问它。 您可以在此页面底部跟踪问题状态。

好的,还有一个是使用apsose-word进行html转换pdf的操作,有以下问题
原文档包含批注,包含批注并且批注带有回复的文档转换成html后,pdf都存在一些问题
1.包含批注并且批注带有回复的文档 htmltopdf后,pdf中被批注的部分未高亮

2.就是批注的作者部分带有序号还有commented
3.当批注过于密集,pdf中会展示不全,但是word中会有三个点进行隐藏展示


原文档:

股权代持协议-测试_一轮-实际出资人(1).docx (35.6 KB)
1.应该不是处理,2和3帮关注下
我的操作是将原word先转换成html,之后进行html转pdf,pdf的样式会有以上问题

@haijie 请注意,Aspose.Words 设计用于处理 MS Word 文档。 HTML 文档和 MS Word 文档对象模型有很大不同,并且在将一种格式转换为另一种格式后并不总是能够提供 100% 的保真度。 在大多数情况下,Aspose.Words 在处理 HTML 文档时会模仿 MS Word 的行为。

关于渲染注释,Aspose.Words 也模仿 MS Word 的行为。 如果您使用 MS Word 将文档转换为 PDF,您将获得类似于 Aspose.Words 的结果。

所以说使用这个转换成pdf,是正常的对吧

@haijie 最好将 MS Word 直接转换为 PDF,而不是将 MS Word 转换为 HTML,然后将 HTML 转换为 PDF。

但是上述现象使用word to pdf 同样存在问题

@haijie 正如我所提到的,Aspose.Words 模仿 MS Word 在 PDF 中渲染注释时的行为。 因此 Aspose.Words 的行为是预期的。

com.aspose.words.UnsupportedFileFormatException: Unsupported file format: Unknown
	at com.aspose.words.zzGX.zzZ(Unknown Source)
	at com.aspose.words.Document.zzY(Unknown Source)
	at com.aspose.words.Document.zzZ(Unknown Source)
	at com.aspose.words.Document.<init>(Unknown Source)
	at com.aspose.words.Document.<init>(Unknown Source)
	at com.aspose.words.Document.<init>(Unknown Source)

尝试加载 pdf 使用 aspose-word forjava 20.1 会报这个错误

@haijie Aspose.Words for java 不支持 PDF 格式作为加载格式。 请参阅我们的文档以了解 Aspose.Words 支持哪些格式:
https://docs.aspose.com/words/java/supported-document-formats/