All table styles
Go to Property Listing | Method Listing
add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
TableStyle add (name:String, [basedOn:String=String], [headerRows:Number=Number], [footerRows:Number=Number])
Used to add a new table style
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The table style name |
|
|
basedOn |
The table style to copy from (Optional) (default: [No table style]) |
|
|
headerRows |
The number of header rows for the style (Optional) (default: 0) |
|
|
footerRows |
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 |
The index or name. Can accept: Long or String. |
TableStyle itemByID (id:Number)
Returns the TableStyle with the specified ID.
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
The ID. |
TableStyle itemByName (name:String)
Returns the TableStyle with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
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 |
The TableStyle, index, or name at the beginning of the range. Can accept: TableStyle, Long or String. |
|
to |
Long |
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 |
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 |
The index of the TableStyle that follows the desired TableStyle. |
String toSource ()
Generates a string which, if executed, will return the TableStyle.