using the following code:
import com.aspose.words.Document;
import com.aspose.words.License;
public class IncorrectRevisionCount {
public static void main(String[] args) throws Exception {
License license = new License();
license.setLicense("Aspose.Total.lic");
String path = "/path/to/incorrect_revision_count.docx";
Document document = new Document(path);
System.out.println(document.getRevisions().getCount() + " Revisions");
}
}
It prints out that the document has 1027 revisions. When I look at the document in Microsoft Word, I see 357 revisions:
image.png (11.0 KB)
incorrect_revision_count.docx.zip (224.0 KB)
The expected behavior is that aspose.words would have a revision count of 357, which would match what microsoft word reports the document having
thanks