Word.Interfaces.RevisionData interface
An interface describing the data returned by calling revision.toJSON().
Properties
| author | Gets the name of the user who made the tracked change. |
| date | Gets the date and time when the tracked change was made. |
| format |
Gets the description of tracked formatting changes in the revision. |
| index | Gets a number that represents the position of this item in a collection. |
| moved |
Gets a |
| range | Gets a |
| type | Gets the revision type. |
Property Details
author
Gets the name of the user who made the tracked change.
author?: string;
Property Value
string
Remarks
date
Gets the date and time when the tracked change was made.
date?: Date;
Property Value
Date
Remarks
formatDescription
Gets the description of tracked formatting changes in the revision.
formatDescription?: string;
Property Value
string
Remarks
index
Gets a number that represents the position of this item in a collection.
index?: number;
Property Value
number
Remarks
movedRange
Gets a Range object that represents the range of text that was moved from one place to another in the document with tracked changes.
movedRange?: Word.Interfaces.RangeData;
Property Value
Remarks
range
Gets a Range object that represents the portion of the document that's contained within a revision mark.
range?: Word.Interfaces.RangeData;
Property Value
Remarks
type
Gets the revision type.
type?: Word.RevisionType | "None" | "Insert" | "Delete" | "Property" | "ParagraphNumber" | "DisplayField" | "Reconcile" | "Conflict" | "Style" | "Replace" | "ParagraphProperty" | "TableProperty" | "SectionProperty" | "StyleDefinition" | "MovedFrom" | "MovedTo" | "CellInsertion" | "CellDeletion" | "CellMerge" | "CellSplit" | "ConflictInsert" | "ConflictDelete";
Property Value
Word.RevisionType | "None" | "Insert" | "Delete" | "Property" | "ParagraphNumber" | "DisplayField" | "Reconcile" | "Conflict" | "Style" | "Replace" | "ParagraphProperty" | "TableProperty" | "SectionProperty" | "StyleDefinition" | "MovedFrom" | "MovedTo" | "CellInsertion" | "CellDeletion" | "CellMerge" | "CellSplit" | "ConflictInsert" | "ConflictDelete"