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. |
lines | Lines | readonly | A collection of lines. |
paragraphs | Paragraphs | readonly | A collection of paragraphs. |
parent | Story | readonly | The parent of the Change (a Story). |
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.
Element of
Character.parent
InsertionPoint.parent
Line.parent
Paragraph.parent
Text.parent
TextColumn.parent
TextStyleRange.parent
TextVariableInstance.parent
Word.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.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, 27-Jun-2010 v3.0.3d | Contents :: Index |