RevisionType
Overview
RevisionType is an enum in Aspose.Words FOSS for Java.
RevisionType.fromName(String) converts a revision type name like ‘INSERTION’ to its integer constant.
Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.
This enum declares 4 methods for RevisionType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
INSERTION | New content was inserted in the document. |
DELETION | Content was removed from the document. |
FORMAT_CHANGE | Change of formatting was applied to the parent node. |
STYLE_DEFINITION_CHANGE | Change of formatting was applied to the parent style. |
MOVING | Content was moved in the document. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of RevisionType values. |
Methods
| Signature | Description |
|---|---|
getName(revisionType: int) → String | Returns JAVA_STYLE string representation of integer RevisionType value. |
toString(revisionType: int) → String | Returns DotNetStyle string representation of integer RevisionType value. |
fromName(revisionTypeName: String) → int | Returns integer representation by RevisionType name. |
getValues() → int[] | Returns array of RevisionType values. |