Edit

Share via


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.

formatDescription

Gets the description of tracked formatting changes in the revision.

index

Gets a number that represents the position of this item in a collection.

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.

range

Gets a Range object that represents the portion of the document that's contained within a revision mark.

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

[ API set: WordApiDesktop 1.4 ]

date

Gets the date and time when the tracked change was made.

date?: Date;

Property Value

Date

Remarks

[ API set: WordApiDesktop 1.4 ]

formatDescription

Gets the description of tracked formatting changes in the revision.

formatDescription?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.4 ]

index

Gets a number that represents the position of this item in a collection.

index?: number;

Property Value

number

Remarks

[ API set: WordApiDesktop 1.4 ]

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

[ API set: WordApiDesktop 1.4 ]

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

[ API set: WordApiDesktop 1.4 ]

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"

Remarks

[ API set: WordApiDesktop 1.4 ]