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
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of revisions in the collection. |
groups | RevisionGroupCollection | Read | Collection of revision groups. |
Methods
| Signature | Description |
|---|---|
acceptAll() | Accepts all revisions in this collection. |
rejectAll() | Rejects all revisions in this collection. |
accept(criteria: IRevisionCriteria) → int | Accepts revisions that match specified criteria. |
reject(criteria: IRevisionCriteria) → int | Rejects revisions that match specified criteria. |
getCount() → int | Returns the number of revisions in the collection. |
get(index: int) → Revision | Returns a Revision at the specified index. |
getGroups() → RevisionGroupCollection | Collection of revision groups. |
iterator() → Iterator<Revision> | Returns an enumerator object. |