A tracked change made to a story.
Go to Property Listing | Method Listing
accept, addEventListener, getElements, reject, removeEventListener, toSource, toSpecifier
Boolean, ChangeTypes, Characters, Date, EventListeners, Events, InsertionPoint, InsertionPoints, Lines, Number, Object, Paragraphs, String, TextColumns, TextStyleRanges, TextVariableInstances, Texts, Words,
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The type of tracked change. Note: Valid only when track changes is true. |
||
readonly |
A collection of characters. |
||
readonly |
The date on which the tracked change was made. Note: Valid only when track changes is true. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The index of the Change within its containing object. |
||
readonly |
A collection of insertion points. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
A collection of lines. |
||
readonly |
A collection of paragraphs. |
||
readonly |
The parent of the Change (a Story, XmlStory or Cell). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
readonly |
The location of the first insertion point in the object (relative to the beginning of the story). |
||
readonly |
A collection of text columns. |
||
readonly |
A collection of text style ranges. |
||
readonly |
A collection of text variable instances. |
||
readonly |
A collection of text objects. |
||
readonly |
The user who made the change. Note: Valid only when track changes is true. |
||
readonly |
A collection of words. |
undefined accept ()
Accepts the tracked change. Note: Valid only when track changes is true.
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
Change getElements ()
Resolves the object specifier, creating an array of object references.
undefined reject ()
Rejects the tracked change. Note: Valid only when track changes is true.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the Change.
String toSpecifier ()
Retrieves the object specifier.
Character.parent
Event.parent
EventListener.parent
InsertionPoint.parent
Line.parent
MutationEvent.parent
Paragraph.parent
Text.parent
TextColumn.parent
TextStyleRange.parent
TextVariableInstance.parent
Word.parent