Adobe InCopy CS5.5 (7.5) Object Model JS: Changes

InCopy CS5.5

Class

Changes

 A collection of changes.

See also Change.

QuickLinks

[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Change [] (index: number)
Returns the Change with the specified index.

ParameterTypeDescription
indexnumberThe index.

Change anyItem ()
Returns any Change in the collection.

number count ()
Displays the number of elements in the Change.

Array of Change everyItem ()
Returns every Change in the collection.

Change firstItem ()
Returns the first Change in the collection.

Change item (index: varies)
Returns the Change with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

Array of Change itemByRange (from: varies, to: varies)
Returns the Changes within the specified range.

ParameterTypeDescription
fromChange
Long Integer
String
The Change, index, or name at the beginning of the range. Can accept: Change, Long Integer or String.
toChange
Long Integer
String
The Change, index, or name at the end of the range. Can accept: Change, Long Integer or String.

Change lastItem ()
Returns the last Change in the collection.

Change middleItem ()
Returns the middle Change in the collection.

Change nextItem (obj: Change)
Returns the Change whose index follows the specified Change in the collection.

ParameterTypeDescription
objChangeThe Change whose index comes before the desired Change.

Change previousItem (obj: Change)
Returns the Change with the index previous to the specified index.

ParameterTypeDescription
objChangeThe index of the Change that follows the desired Change.

string toSource ()
Generates a string which, if executed, will return the Change.

Element of

Cell.changes

Story.changes

Table.changes

XmlStory.changes

Jongware, 29-Apr-2012 v3.0.3iContents :: Index