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

NameTypeAccessDescription
authorStringRead/WriteGets or sets the author of this revision.
dateTimejava.util.DateRead/WriteGets or sets the date time.
revisionTypeintReadGets the type of this revision.
parentNodeNodeReadGets the immediate parent node (owner) of this revision.
parentStyleStyleReadGets the immediate parent style (owner) of this revision.
groupRevisionGroupReadGets the revision group.

Methods

SignatureDescription
accept()Accepts this revision.
reject()Reject this revision.
getAuthor() → StringGets or sets the author of this revision.
setAuthor(value: String)Sets the author value.
getDateTime() → java.util.DateReturns the date time.
setDateTime(value: java.util.Date)Sets the date time value.
getRevisionType() → intGets the type of this revision.
getParentNode() → NodeGets the immediate parent node (owner) of this revision.
getParentStyle() → StyleGets the immediate parent style (owner) of this revision.
getGroup() → RevisionGroupGets the revision group.

See Also