Adobe InDesign CS5 Server (7.0) Object Model JS: AutoCorrectTables

InDesign Server CS5

Class

AutoCorrectTables

 A collection of auto-correct tables.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

ParameterTypeDescription
indexnumberThe index.

AutoCorrectTable anyItem ()
Returns any AutoCorrectTable in the collection.

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

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

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

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

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

AutoCorrectTable itemByName (name: string)
Returns the AutoCorrectTable with the specified name.

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromAutoCorrectTable
Long Integer
String
The AutoCorrectTable, index, or name at the beginning of the range. Can accept: AutoCorrectTable, Long Integer or String.
toAutoCorrectTable
Long Integer
String
The AutoCorrectTable, index, or name at the end of the range. Can accept: AutoCorrectTable, Long Integer or String.

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

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

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

ParameterTypeDescription
objAutoCorrectTableThe AutoCorrectTable whose index comes before the desired AutoCorrectTable.

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

ParameterTypeDescription
objAutoCorrectTableThe index of the AutoCorrectTable that follows the desired AutoCorrectTable.

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

Element of

Application.autoCorrectTables

Jongware, 23-Mar-2011 v3.0.3dContents :: Index