ConditionSets
A collection of condition sets for conditional text.
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
ConditionSet [] (index:Number)
Returns the ConditionSet with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
ConditionSet add (withProperties:Object)
Creates a new ConditionSet.
Parameter |
Type |
Description |
---|---|---|
withProperties |
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 |
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 |
The ID. |
ConditionSet itemByName (name:String)
Returns the ConditionSet with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
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 |
LongInteger |
The ConditionSet, index, or name at the beginning of the range. Can accept: ConditionSet, Long Integer or String. |
to |
LongInteger |
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 |
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 |
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