Hello. We are trying to get revision group texts. We are using the aspose.words library. When we compare documents with columns, only in the exported Word file we can see the revision description. When we try to get revisions group text, there is no information about column number change.
In case anything needs to be done to see the revision group text, please advise.
Aspose version 24.4
original
original.docx (11.5 KB)
modified
modified.docx (11.5 KB)
Document original= new Document("original.docx");
Document modified= new Document("modified.docx");
original.acceptAllRevisions();
modified.acceptAllRevisions();
original.compare(modified, "Testing", new Date());
original.save("Output.docx");
original.save("Output.pdf");
original.getRevisions().getGroups().forEach(revisionGroup -> System.out.println(revisionGroup.getText()));
@dfinsolutions
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-27151
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.
We have also ran into the same problem, but with section breaks (continuous and new page). While exported word does show the description, the revision group text after comparison is missing for formatting.
original.docx (8.1 KB)
modified.docx (8.1 KB)
@dfinsolutions As I can see in this case Aspose.Words comparison result matches MS Word comparison result.
Aspose.Words: out.docx (8.0 KB)
MS Word: ms.docx (11.6 KB)
Could you please elaborate your requirements?
When we are trying to get revision group text (for section breaks or column count) inside the code with the above code snippet, it is missing.
@dfinsolutions What text should revision group text return in your case?
Formatting description in revision groups which is expected:
When a section break (continuous) added - Section start: Continuous
When column number changes - Number of columns: x
And I do apologise, as I noticed that when adding a section break (new page), Word also has no formatting description. I would expect that when a section break (new page) added - Section start: New page
@dfinsolutions
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-27491
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.
The issues you have found earlier (filed as WORDSNET-27491,WORDSNET-27151) have been fixed in this Aspose.Words for Java 24.11 update.