Revision
Overview
Revision is a class in Aspose.Words FOSS for Java.
Represents a revision (tracked change) in a document node or style.
Edition status of its 16 listed members (a property and its accessor methods are listed separately, overloads once): 16 not yet exercised by a verified example.
This class declares 10 methods for Revision objects in Java programs.
Available methods include: accept, getAuthor, getDateTime, getGroup, getParentNode, getParentStyle, getRevisionType, reject, setAuthor, setDateTime.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: author, dateTime, group, parentNode, parentStyle, revisionType.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
author | String | Read/Write | Gets or sets the author of this revision. |
dateTime | java.util.Date | Read/Write | Gets or sets the date time. |
revisionType | int | Read | Gets the type of this revision. |
parentNode | Node | Read | Gets the immediate parent node (owner) of this revision. |
parentStyle | Style | Read | Gets the immediate parent style (owner) of this revision. |
group | RevisionGroup | Read | Gets the revision group. |
Methods
| Signature | Description |
|---|---|
accept() | Accepts this revision. |
reject() | Reject this revision. |
getAuthor() → String | Gets or sets the author of this revision. |
setAuthor(value: String) | Sets the author value. |
getDateTime() → java.util.Date | Returns the date time. |
setDateTime(value: java.util.Date) | Sets the date time value. |
getRevisionType() → int | Gets the type of this revision. |
getParentNode() → Node | Gets the immediate parent node (owner) of this revision. |
getParentStyle() → Style | Gets the immediate parent style (owner) of this revision. |
getGroup() → RevisionGroup | Gets the revision group. |