ConditionSets

A collection of condition sets for conditional text.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

ConditionSet [] (index:Number)

Returns the ConditionSet with the specified index.

Parameter

Type

Description

index

Number

The index.

ConditionSet add (withProperties:Object)

Creates a new ConditionSet.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new ConditionSet (Optional)

ConditionSet anyItem ()

Returns any ConditionSet in the collection.

Number count ()

Displays the number of elements in the ConditionSet.

ConditionSet everyItem ()

Returns every ConditionSet in the collection.

ConditionSet firstItem ()

Returns the first ConditionSet in the collection.

ConditionSet item (index:Varies LongInteger String)

Returns the ConditionSet with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

ConditionSet itemByID (id:Number)

Returns the ConditionSet with the specified ID.

Parameter

Type

Description

id

Number

The ID.

ConditionSet itemByName (name:String)

Returns the ConditionSet with the specified name.

Parameter

Type

Description

name

String

The name.

ConditionSet itemByRange (from:Varies ConditionSet LongInteger String, to:Varies ConditionSet LongInteger String)

Returns the ConditionSets within the specified range.

Parameter

Type

Description

from

ConditionSet

LongInteger

String

The ConditionSet, index, or name at the beginning of the range. Can accept: ConditionSet, Long Integer or String.

to

ConditionSet

LongInteger

String

The ConditionSet, index, or name at the end of the range. Can accept: ConditionSet, Long Integer or String.

ConditionSet lastItem ()

Returns the last ConditionSet in the collection.

ConditionSet middleItem ()

Returns the middle ConditionSet in the collection.

ConditionSet nextItem (obj:ConditionSet)

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

Parameter

Type

Description

obj

ConditionSet

The ConditionSet whose index comes before the desired ConditionSet.

ConditionSet previousItem (obj:ConditionSet)

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

Parameter

Type

Description

obj

ConditionSet

The index of the ConditionSet that follows the desired ConditionSet.

String toSource ()

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

Object of

Application.conditionSets

Document.conditionSets