TableStyles
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
TableStyle add (name:
string[, basedOn:
string=[No table style]][, headerRows:
number=0][, footerRows:
number=0])
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.
Array
of TableStyle everyItem ()
Returns every TableStyle in the collection.
TableStyle firstItem ()
Returns the first TableStyle in the collection.
TableStyle item (index:
any)
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. |
Array
of TableStyle itemByRange (from:
any, to:
any)
Returns the TableStyles within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long String TableStyle | The TableStyle, index, or name at the beginning of the range. Can accept: TableStyle, Long or String. |
to | Long String TableStyle | 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.
Element of
Application.tableStyles
Document.tableStyles
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |