TableStyles
A collection of table styles.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
TableStyle [] (index:Number)
Returns the TableStyle with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
TableStyle add (withProperties:Object)
Creates a new TableStyle.
Parameter |
Type |
Description |
---|---|---|
withProperties |
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 |
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 |
The ID. |
TableStyle itemByName (name:String)
Returns the TableStyle with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
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 |
The TableStyle, index, or name at the beginning of the range. Can accept: TableStyle, Long Integer or String. |
to |
LongInteger |
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 |
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.
Object of
Application.tableStyles
Document.tableStyles
TableStyleGroup.tableStyles