Help me to understand revisions in Aspose.Words.
I created a simple docx in Ms Word with table, enabled track changes and changed column width.
In RevisionCollection for this document: 1 Revision without Group and 1 RevisionGroup. Why? In which cases is the group field missing in the revision?
var wordDoc = new Aspose.Words.Document(Environment.CurrentDirectory + "/1.docx"); var trackChanges = wordDoc.Revisions; Console.WriteLine("Count revision groups: " + trackChanges.Groups.Count); Console.WriteLine("Single revision group: " + trackChanges.Single().Group);
Count revision groups: 1
Single revision group:
And I have another question: how to create a revision with revision type StyleDefinitionChange? All the style edits I’ve tried create only FormatChange revisions.