TOCStyleEntries
A collection TOC style entries.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
TOCStyleEntry add( String styleName, Object withProperties )
Adds a TOC style entry.
Parameters
Type Name Description 
Number count()
Displays the number of elements in the TOCStyleEntry.
TOCStyleEntry item( Mixed index )
Returns the TOCStyleEntry with the specified index or name.
Parameters
Type Name Description 
TOCStyleEntry itemByName( String name )
Returns the TOCStyleEntry with the specified name.
Parameters
Type Name Description 
TOCStyleEntry itemByRange( Mixed from, Mixed to )
Returns the TOCStyleEntries within the specified range.
Parameters
Type Name Description 
TOCStyleEntry firstItem()
Returns the first TOCStyleEntry in the collection.
TOCStyleEntry lastItem()
Returns the last TOCStyleEntry in the collection.
TOCStyleEntry middleItem()
Returns the middle TOCStyleEntry in the collection.
TOCStyleEntry previousItem( TOCStyleEntry obj )
Returns the TOCStyleEntry with the index previous to the specified index.
Parameters
Type Name Description 
TOCStyleEntry nextItem( TOCStyleEntry obj )
Returns the TOCStyleEntry whose index follows the specified TOCStyleEntry in the collection.
Parameters
Type Name Description 
TOCStyleEntry anyItem()
Returns any TOCStyleEntry in the collection.
TOCStyleEntry everyItem()
Returns every TOCStyleEntry in the collection.
String toSource()
Generates a string which, if executed, will return the TOCStyleEntry.
TOCStyleEntry []( Number index )
Returns the TOCStyleEntry with the specified index.
Parameters
Type Name Description