FOM Reference > Content > Pages > fPageSequenceItem interface
  
fPageSequenceItem interface
This object defines an individual page sequence rule, and represents the contents of the Page Sequence control stream.
The "single" keyword is identical to setting maxRepeats to 1 with no conditions. The "repeat" keyword is identical to setting maxRepeats appropriately with no conditions". The "repeat_alt" keyword is identical to no layout, and 1 or more conditions. The "alt" keywords are represented by the children of the conditions array.
conditions attribute
An array containing the page sequence conditions to test. The first condition that succeeds, according to the value in their "order" property, will be selected.
conditions
Access
read-write
Returns
fPageSequenceCondition[]
layout attribute
The page layout to use when this page sequence item is processed. If this rule contains conditions, this layout will be used as a default if no condition applies.
layout
Access
read-write
Returns
fLayerGroup
maxRepeats attribute
The maximum number of times to apply this rule. If this value is 0, the rule will be applied as many times as it is required. It is an error for this value to be negative.
maxRepeats
Access
read-write
Returns
int
addCondition method
Adds a new page sequence condition to the conditions array.
addConditionpageSequenceCondition
Parameters
fPageSequenceConditionpageSequenceCondition
The page sequence condition to add to the conditions array. If this value is null or undefined, a new fPageSequenceCondition object will be created.
Returns
fPageSequenceCondition. The new fPageSequenceCondition object, adding it to the array of conditions. All values in this object will be initialized to 0, apart from the order parameter which will be set to the current highest order property + 1.
clearConditions method
Removes all page sequence conditions from the conditions array.
clearConditions
Parameters
None
Returns
void. None.
fPageSequenceItem method
Creates a new anonymous fPageSequenceItem object.
fPageSequenceItem
Parameters
None
Returns
fPageSequenceItem. The newly created fPageSequenceItem object.
readResolve method
Return the object corresponding to the given serialized representation.
readResolveobj
Parameters
Objectobj
The serialized representation.
Returns
fPageSequenceItem. The object corresponding to the serialized representation.
removeCondition method
Removes the specified page sequence condition from the conditions array.
removeConditioncondition
Parameters
fPageSequenceConditioncondition
The page sequence condition to remove.
Returns
void. None.