Revision class

Revision class

Represents a revision (tracked change) in a document node or style. Use Revision.revisionType to check the type of this revision. To learn more, visit the Track Changes in a Document documentation article.

Properties

NameDescription
authorGets or sets the author of this revision. Can not be empty string or null.
dateTimeGets or sets the date/time of this revision.
groupGets the revision group. Returns null if the revision does not belong to any group.
parentNodeGets the immediate parent node (owner) of this revision. This property will work for any revision type other than RevisionType.StyleDefinitionChange.
parentStyleGets the immediate parent style (owner) of this revision. This property will work for only for the RevisionType.StyleDefinitionChange revision type.
revisionTypeGets the type of this revision.

Methods

NameDescription
accept()Accepts this revision.
reject()Reject this revision.

See Also