Word.Interfaces.RevisionData interface

一个描述通过调用 revision.toJSON()返回的数据的接口。

注解

使用方

属性

author

获取进行修订的用户的名称。

date

获取进行修订更改的日期和时间。

formatDescription

获取修订中跟踪的格式更改的说明。

index

获取表示此项在集合中的位置的数字。

movedRange

获取一个 Range 对象,该对象表示文档中从一个位置移动到另一个位置的文本范围,并带有修订。

range

获取表示 Range 修订标记内包含的文档部分的对象。

type

获取修订类型。

属性详细信息

author

获取进行修订的用户的名称。

author?: string;

属性值

string

注解

API 集:WordApiDesktop 1.4

date

获取进行修订更改的日期和时间。

date?: Date;

属性值

Date

注解

API 集:WordApiDesktop 1.4

formatDescription

获取修订中跟踪的格式更改的说明。

formatDescription?: string;

属性值

string

注解

API 集:WordApiDesktop 1.4

index

获取表示此项在集合中的位置的数字。

index?: number;

属性值

number

注解

API 集:WordApiDesktop 1.4

movedRange

获取一个 Range 对象,该对象表示文档中从一个位置移动到另一个位置的文本范围,并带有修订。

movedRange?: Word.Interfaces.RangeData;

属性值

注解

API 集:WordApiDesktop 1.4

range

获取表示 Range 修订标记内包含的文档部分的对象。

range?: Word.Interfaces.RangeData;

属性值

注解

API 集:WordApiDesktop 1.4

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";

属性值

Word.RevisionType | "None" | "Insert" | "Delete" | "Property" | "ParagraphNumber" | "DisplayField" | "Reconcile" | "Conflict" | "Style" | "Replace" | "ParagraphProperty" | "TableProperty" | "SectionProperty" | "StyleDefinition" | "MovedFrom" | "MovedTo" | "CellInsertion" | "CellDeletion" | "CellMerge" | "CellSplit" | "ConflictInsert" | "ConflictDelete"

注解

API 集:WordApiDesktop 1.4