Load document with comment replies and comments resolved

Hi,

I tried to import a docx file in Aspose Words Java (see attached) which contains comments with replies & resolved comments but failed to retrieve the information in Aspose.

It seems to me that the replies are converted to regular comments and that the “is resolved” status is simply lost in the process.

Am I missing something or there is indeed no support for advanced features like “comment reply” or “comment resolved” when loading documents in Aspose ?

Thanks,

Hi Paulin,

Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-14471. Our product team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.

EDIT: It looks like this feature has already been implemented in latest versions of Aspose.Words for Java. Please upgrade and confirm. Thanks for your cooperation.
https://releases.aspose.com/words/java/

Best regards,

Hi Paulin,

It looks like the following simple code produces the correct results when using the following code with Aspose.Words 16.11.0 (see attachment):

Document doc = new Document("docx_qui_tache.docx");
doc.save("16.11.0.docx");

Can you please upgrade to latest version and see how it goes on your end? If the problem still remains, please create a standalone Java application (source code without compilation errors) that helps us reproduce your problem on our end and attach it here for testing.

Best regards,

Hi,

I’ve upgraded to the 16.11.0 and the comments are now correctly inserted in the saved document.

But I still can’t succeed to access programmatically information like :

  • is the comment resolved in the doc file ?
  • is the comment a reply to another comment ? if yes, to which comment.
Document doc = new Document("docx_qui_tache.docx");
for (Object o : doc.getChildNodes(NodeType.COMMENT, true))
{
    Comment comment = (Comment)o;
    String author = comment.getAuthor();
    // boolean isResolved = ???
    // boolean isReply = ???
    // Comment replyTo = ???
}
doc.save("16.11.0.docx");

I also tried to save the document as html and I couldn’t see anything that could let me differentiate resolved comments & comment replies in the generated html.

Document doc = new Document("docx_qui_tache.docx");
doc.save("16.11.0.html", new HtmlSaveOptions(SaveFormat.HTML));

Thanks

Hi,

We have logged this information in our issue tracking system and will keep you posted on further updates.

Best regards,

Hi,

Any update on this ? Did you confirm that there is something missing from your API or am I missing something ?

Thanks

Hi Paulin,

Thanks for your inquiry. We will do a proper support for advanced Comment handling including extended info access, adding reply to etc. But, we regret to share with you that the implementation of this new feature has been postponed for now. However, the fix of this problem may definitely come onto the product roadmap in the future. Unfortunately, we cannot currently promise a resolution date. We apologize for your inconvenience.

Best regards,

@PS-CL,

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