[Table of Contents] [docx version]

Error! No text of specified style in document.

constrLst (Constraint List)

This element is simply a list of constraints.

[Example: Consider the following example of a constraint list which contains some example constraints which are being defined and applied to layout nodes in the layout definition:

<constrLst>

   <constr type="w" for="ch" forName="node1" refType="w" refForName=""/>

   <constr type="h" for="ch" forName="node1" refType="w" refFor="ch" refForName="node1" op="equ" fact="0.6"/>

   <constr type="w" for="ch" forName="transition1" refType="w" refFor="ch" refForName="node1" op="equ" fact="0.1"/>

   <constr type="primFontSz" for="ch" forName="node1" refForName="" op="equ" val="100"/>

</constrLst>

In this example we can see constraints being defined for the width and height along with the primary font size for a layout node referenced by node1. The width for a transition is also specified. end example]

Parent Elements

else5.9.2.12); forEach5.9.2.14); if5.9.2.15); layoutNode5.9.2.19)

 

Child Elements

Subclause

constr (Constraint)

§5.9.2.8

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Constraints">

   <sequence>

   <element name="constr" type="CT_Constraint" minOccurs="0" maxOccurs="unbounded"/>

   </sequence>

</complexType>