[Table of Contents] [docx version]

Error! No text of specified style in document.

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: Consider the following example of alg being used in a DrawingML diagram:

<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. end example]

Parent Elements

else5.9.2.12); forEach5.9.2.14); if5.9.2.15); layoutNode5.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>