Word.Interfaces.RevisionData interface
一个接口,用于描述通过调用 revision.toJSON()返回的数据。
属性
| author | 获取进行跟踪更改的用户的名称。 |
| date | 获取进行跟踪更改的日期和时间。 |
| format |
获取修订中跟踪的格式设置更改的说明。 |
| index | 获取一个数字,该值表示此项在集合中的位置。 |
| moved |
获取一个 |
| range | 获取一个 |
| type | 获取修订类型。 |
属性详细信息
author
date
formatDescription
index
movedRange
获取一个 Range 对象,该对象表示在文档中使用修订从一个位置移动到另一个位置的文本范围。
movedRange?: Word.Interfaces.RangeData;
属性值
注解
range
获取一个 Range 对象,该对象表示修订标记中包含的文档部分。
range?: Word.Interfaces.RangeData;
属性值
注解
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"