Change
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
changeType | ChangeTypes: ChangeTypes.INSERTED_TEXT ChangeTypes.DELETED_TEXT ChangeTypes.MOVED_TEXT |
readonly | The type of tracked change. Note: Valid only when track changes is true. |
characters | Characters | readonly | A collection of characters. |
date | Date | readonly | The date on which the tracked change was made. Note: Valid only when track changes is true. |
index | number | readonly | The index of the Change within its containing object. |
insertionPoints | InsertionPoints | readonly | A collection of insertion points. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
lines | Lines | readonly | A collection of lines. |
paragraphs | Paragraphs | readonly | A collection of paragraphs. |
parent | Cell Story |
readonly | The parent of the Change (a Story or Cell). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
storyOffset | InsertionPoint | readonly | The location of the first insertion point in the object (relative to the beginning of the story). |
textColumns | TextColumns | readonly | A collection of text columns. |
textStyleRanges | TextStyleRanges | readonly | A collection of text style ranges. |
textVariableInstances | TextVariableInstances | readonly | A collection of text variable instances. |
texts | Texts | readonly | A collection of text objects. |
userName | string | readonly | The user who made the change. Note: Valid only when track changes is true. |
words | Words | readonly | A collection of words. |
Methods
Instances
void accept ()
Accepts the tracked change. Note: Valid only when track changes is true.
Array of Change getElements ()
Resolves the object specifier, creating an array of object references.
void reject ()
Rejects the tracked change. Note: Valid only when track changes is true.
string toSource ()
Generates a string which, if executed, will return the Change.
string toSpecifier ()
Retrieves the object specifier.
Element of
TextVariableInstance.parent
Used in:
array of Change Changes.itemByRange (from: any, to: any)
Change Changes.nextItem (obj: Change)
Change Changes.previousItem (obj: Change)
TextVariableInstance TextVariableInstances.add ([to: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])
Return
Array of Change Change.getElements ()
Change Changes.[] (index: number)
Change Changes.anyItem ()
Array of Change Changes.everyItem ()
Change Changes.firstItem ()
Change Changes.item (index: any)
Change Changes.itemByName (name: string)
Array of Change Changes.itemByRange (from: any, to: any)
Change Changes.lastItem ()
Change Changes.middleItem ()
Change Changes.nextItem (obj: Change)
Change Changes.previousItem (obj: Change)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |