NumberingLists

A colleciton of numbered lists.

Methods

NumberingListadd (name:
string[, continueNumbersAcrossStories:
bool][, continueNumbersAcrossDocuments:
bool][, withProperties:
Object])
Create a new list style.

Parameter Type Description
name string Name
continueNumbersAcrossStories bool If true, numbering will continue across stories. (Optional)
continueNumbersAcrossDocuments bool If true, numbering will continue across book documents. (Optional)
withProperties Object Initial values for properties of the new NumberingList (Optional)

NumberingListanyItem ()
Returns any NumberingList in the collection.

number count ()
Displays the number of elements in the NumberingList.

Array of NumberingListeveryItem ()
Returns every NumberingList in the collection.

NumberingListfirstItem ()
Returns the first NumberingList in the collection.

NumberingListitem (index:
any)
Returns the NumberingList with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

NumberingListitemByID (id:
number)
Returns the NumberingList with the specified ID.

Parameter Type Description
id number The ID.

NumberingListitemByName (name:
string)
Returns the NumberingList with the specified name.

Parameter Type Description
name string The name.

Array of NumberingListitemByRange (from:
any, to:
any)
Returns the NumberingLists within the specified range.

Parameter Type Description
from NumberingList
Long Integer
String
The NumberingList, index, or name at the beginning of the range. Can accept: NumberingList, Long Integer or String.
to NumberingList
Long Integer
String
The NumberingList, index, or name at the end of the range. Can accept: NumberingList, Long Integer or String.

NumberingListlastItem ()
Returns the last NumberingList in the collection.

NumberingListmiddleItem ()
Returns the middle NumberingList in the collection.

NumberingListnextItem (obj:
NumberingList)
Returns the NumberingList whose index follows the specified NumberingList in the collection.

Parameter Type Description
obj NumberingList The NumberingList whose index comes before the desired NumberingList.

NumberingListpreviousItem (obj:
NumberingList)
Returns the NumberingList with the index previous to the specified index.

Parameter Type Description
obj NumberingList The index of the NumberingList that follows the desired NumberingList.

string toSource ()
Generates a string which, if executed, will return the NumberingList.

Element of:

Application.numberingLists
Document.numberingLists

Leave a Comment

Previous post:

Next post: