Adobe InDesign CS6 Server (8.0) Object Model JS: TableStyleGroups

InDesign Server CS6

Class

TableStyleGroups

 A collection of table style groups.

See also TableStyleGroup.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

ParameterTypeDescription
indexnumberThe index.

TableStyleGroup add ([withProperties: Object])
Creates a new TableStyleGroup.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new TableStyleGroup (Optional)

TableStyleGroup anyItem ()
Returns any TableStyleGroup in the collection.

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

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

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

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

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

TableStyleGroup itemByID (id: number)
Returns the TableStyleGroup with the specified ID.

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromLong Integer
String
TableStyleGroup
The TableStyleGroup, index, or name at the beginning of the range. Can accept: TableStyleGroup, Long Integer or String.
toLong Integer
String
TableStyleGroup
The TableStyleGroup, index, or name at the end of the range. Can accept: TableStyleGroup, Long Integer or String.

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

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

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

ParameterTypeDescription
objTableStyleGroupThe TableStyleGroup whose index comes before the desired TableStyleGroup.

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

ParameterTypeDescription
objTableStyleGroupThe index of the TableStyleGroup that follows the desired TableStyleGroup.

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

Element of

Application.tableStyleGroups

Document.tableStyleGroups

TableStyleGroup.tableStyleGroups

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