Edit in GitHubLog an issue

TOCStyles

A collection of TOC styles.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

TOCStyle add( Object withProperties )

Creates a new TOCStyle.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new TOCStyle (Optional)

Number count()

Displays the number of elements in the TOCStyle.


TOCStyle item( Mixed index )

Returns the TOCStyle with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

TOCStyle itemByName( String name )

Returns the TOCStyle with the specified name.

Parameters

TypeNameDescription
String
name
The name.

TOCStyle itemByID( Number id )

Returns the TOCStyle with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

TOCStyle itemByRange( Mixed from, Mixed to )

Returns the TOCStyles within the specified range.

Parameters

TypeNameDescription
Mixed
from
The TOCStyle, index, or name at the beginning of the range. Can accept: TOCStyle, Long Integer or String.
Mixed
to
The TOCStyle, index, or name at the end of the range. Can accept: TOCStyle, Long Integer or String.

TOCStyle firstItem()

Returns the first TOCStyle in the collection.


TOCStyle lastItem()

Returns the last TOCStyle in the collection.


TOCStyle middleItem()

Returns the middle TOCStyle in the collection.


TOCStyle previousItem( TOCStyle obj )

Returns the TOCStyle with the index previous to the specified index.

Parameters

TypeNameDescription
TOCStyle
obj
The index of the TOCStyle that follows the desired TOCStyle.

TOCStyle nextItem( TOCStyle obj )

Returns the TOCStyle whose index follows the specified TOCStyle in the collection.

Parameters

TypeNameDescription
TOCStyle
obj
The TOCStyle whose index comes before the desired TOCStyle.

TOCStyle anyItem()

Returns any TOCStyle in the collection.


TOCStyle everyItem()

Returns every TOCStyle in the collection.


String toSource()

Generates a string which, if executed, will return the TOCStyle.


TOCStyle []( Number index )

Returns the TOCStyle with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.