<alg> (Algorithm)

The algorithm used by the containing layout node. The algorithm defines the behavior of the layout node along with the behavior and layout of the nested layout nodes.

example:
<layoutNode name="arrow">                    
	<varLst/>
	<alg type="tx" />                        
	<shape type="upArrow">                   
	<adjLst>                             
	<adj idx="2" val=".35" />        
	</adjLst>                            
	</shape>                                 
	<presOf axis="desOrSelf" ptType="node" />
	<ruleLst/>
</layoutNode>                             

In this example, the tx algorithm is being used to layout text within the containing layout node. ]

Parent Elements

<else>5.9.2.12); <forEach>5.9.2.14); <if>5.9.2.15); <layoutNode>5.9.2.19)

Child Elements

Subclause

<extLst> (Extension List)

§5.9.2.13

<param> (Parameter)

§5.9.2.20

Attributes

Description

<rev> (Revision Number)

The revision number of an algorithm.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

<type> (Algorithm Type)

Specifies the algorithm type.

The possible values for this attribute are defined by the ST_AlgorithmType simple type (§5.9.7.1).

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

<complexType name="CT_Algorithm">
	<sequence>
	<element name="param" type="CT_Parameter" minOccurs="0" maxOccurs="unbounded"/>
	<element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="type" type="ST_AlgorithmType" use="required"/>
	<attribute name="rev" type="xsd:unsignedInt" use="optional" default="0"/>
</complexType>