We noticed that comparing input.docx to expected.docx returns no differences, i.e. no revisions, even though those two documents look different. Saving the compared document actually changes the document (output.docx) to expected.docx. Here’s the code:
Document doc = new Document("input.docx");
Document docB = new Document("expected.docx");
doc.compare(docB, "test", new Date());
int revs = doc.getRevisions().getCount();
doc.save("output.docx");
We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18993. You will be notified via this forum thread once this issue is resolved.
We regret to share with you that the implementation of this issue has been postponed ( no estimate is available at the moment ). We will inform you via this thread as soon as this issue is resolved.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.