TableStyles

All 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 add (name:String, [basedOn:String=String], [headerRows:Number=Number], [footerRows:Number=Number])

Used to add a new table style

Parameter

Type

Description

name

String

The table style name

basedOn

String

The table style to copy from (Optional)

(default: [No table style])

headerRows

Number

The number of header rows for the style (Optional)

(default: 0)

footerRows

Number

The number of footer rows for the style (Optional)

(default: 0)

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 Long String)

Returns the TableStyle with the specified index or name.

Parameter

Type

Description

index

Long

String

The index or name. Can accept: Long 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 Long TableStyle String, to:Varies Long TableStyle String)

Returns the TableStyles within the specified range.

Parameter

Type

Description

from

Long

TableStyle

String

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

to

Long

TableStyle

String

The TableStyle, index, or name at the end of the range. Can accept: TableStyle, Long 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.html#d1e24410.tableStyles

Document.html#d1e26379.tableStyles