RevisionCollection

RevisionCollection

Overview

RevisionCollection is a class in Aspose.Words FOSS for Java. Inherits from: Iterable<Revision>.

A collection of Revision objects that represent revisions in the document.

Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.

This class declares 8 methods for RevisionCollection objects in Java programs. Available methods include: accept, acceptAll, get, getCount, getGroups, iterator, reject, rejectAll. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: count, groups.

Properties

NameTypeAccessDescription
countintReadReturns the number of revisions in the collection.
groupsRevisionGroupCollectionReadCollection of revision groups.

Methods

SignatureDescription
acceptAll()Accepts all revisions in this collection.
rejectAll()Rejects all revisions in this collection.
accept(criteria: IRevisionCriteria) → intAccepts revisions that match specified criteria.
reject(criteria: IRevisionCriteria) → intRejects revisions that match specified criteria.
getCount() → intReturns the number of revisions in the collection.
get(index: int) → RevisionReturns a Revision at the specified index.
getGroups() → RevisionGroupCollectionCollection of revision groups.
iterator() → Iterator<Revision>Returns an enumerator object.

See Also