FOM Reference > Content > Pages > fPageSequenceCondition interface
  
fPageSequenceCondition interface
This object defines an individual page sequence condition, and is equivalent to the "alt" keyword in the Page Sequence control stream.
PageSequenceConditionContent enumeration
The possible values for the fPageSequence.content test.
The PageSequenceConditionContent enumeration has the following constants of type int.
CONTENT_ANY = 0
Use this page layout under any condition.
CONTENT_BLANK = 1
Only use this page layout for blank pages.
CONTENT_NOT_BLANK = 2
Only use this page layout for normal (non-blank) pages.
PageSequenceConditionPosition enumeration
The possible values for the fPageSequence.position test.
The PageSequenceConditionPosition enumeration has the following constants of type int.
POSITION_ANY = 0
Use this page layout under any condition.
POSITION_FIRST = 1
Only use this page layout at the start of the page sequence.
POSITION_REST = 2
Only use this page layout in the middle of the page sequence, i.e. not the first or last page of the sequence.
POSITION_LAST = 3
Only use this page layout on the last page of this page sequence.
PageSequenceConditionSide enumeration
The possible values for the fPageSequence.side test.
The PageSequenceConditionSide enumeration has the following constants of type int.
SIDE_ANY = 0
Use this page layout under any condition.
SIDE_ODD = 1
Only use this page sequence if the sequence page number is odd.
SIDE_EVEN = 2
Only use this page sequence if the sequence page number is even.
layout attribute
The page layout to use when this page sequence item is processed.
layout
Access
read-write
Returns
fLayerGroup
testContent attribute
This condition tests if the page layout should be used for normal or blank pages, i.e. those inserted to meet any force conditions. This should be one of the values from fPageSequenceCondition.PageSequenceConditionContent.
testContent
Access
read-write
Returns
int
testPosition attribute
This condition tests if the page layout should be used at the start or end of this instance of the page sequence. This should be one of the values from fPageSequenceCondition.PageSequenceConditionPosition
testPosition
Access
read-write
Returns
int
testSide attribute
This condition tests if the page layout should be used on specified page numbers or sides of the document. This should be one of the values from fPageSequenceCondition.PageSequenceConditionSide
testSide
Access
read-write
Returns
int
fPageSequenceCondition method
Creates a new anonymous fPageSequenceCondition object.
fPageSequenceCondition
Parameters
None
Returns
fPageSequenceCondition. The newly created fPageSequenceCondition object.
readResolve method
Return the object corresponding to the given serialized representation.
readResolveobj
Parameters
Objectobj
The serialized representation.
Returns
fPageSequenceCondition. The object corresponding to the serialized representation.