TableStyles

A collection of table styles.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

TableStyle [] (index:Number)

Returns the TableStyle with the specified index.

Parameter

Type

Description

index

Number

The index.

TableStyle add (withProperties:Object)

Creates a new TableStyle.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new TableStyle (Optional)

TableStyle anyItem ()

Returns any TableStyle in the collection.

Number count ()

Displays the number of elements in the TableStyle.

TableStyle everyItem ()

Returns every TableStyle in the collection.

TableStyle firstItem ()

Returns the first TableStyle in the collection.

TableStyle item (index:Varies LongInteger String)

Returns the TableStyle with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

TableStyle itemByID (id:Number)

Returns the TableStyle with the specified ID.

Parameter

Type

Description

id

Number

The ID.

TableStyle itemByName (name:String)

Returns the TableStyle with the specified name.

Parameter

Type

Description

name

String

The name.

TableStyle itemByRange (from:Varies LongInteger TableStyle String, to:Varies LongInteger TableStyle String)

Returns the TableStyles within the specified range.

Parameter

Type

Description

from

LongInteger

TableStyle

String

The TableStyle, index, or name at the beginning of the range. Can accept: TableStyle, Long Integer or String.

to

LongInteger

TableStyle

String

The TableStyle, index, or name at the end of the range. Can accept: TableStyle, Long Integer or String.

TableStyle lastItem ()

Returns the last TableStyle in the collection.

TableStyle middleItem ()

Returns the middle TableStyle in the collection.

TableStyle nextItem (obj:TableStyle)

Returns the TableStyle whose index follows the specified TableStyle in the collection.

Parameter

Type

Description

obj

TableStyle

The TableStyle whose index comes before the desired TableStyle.

TableStyle previousItem (obj:TableStyle)

Returns the TableStyle with the index previous to the specified index.

Parameter

Type

Description

obj

TableStyle

The index of the TableStyle that follows the desired TableStyle.

String toSource ()

Generates a string which, if executed, will return the TableStyle.

Object of

Application.tableStyles

Document.tableStyles

TableStyleGroup.tableStyles