[Table of Contents] [docx version]
Error! No text of specified style in document.
The layout node is the basic building block of diagrams. The layout node is responsible for defining how shapes are arranged in a diagram and how the data maps to a particular shape in a diagram.
[Example: Consider the following example of a basic layout node defined in a DrawingML diagram:
<layoutNode name="node">
<varLst>
<bulletEnabled val="1"/>
</varLst>
<presOf axis="desOrSelf" ptType="node"/>
<shape type="rect" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" r:blip="">
<adjLst/>
</shape>
<constrLst/>
<ruleLst>
<rule type="primFontSz" forName="" val="2" fact="NaN" max="NaN"/>
</ruleLst>
</layoutNode>
In this example we define a layout node which holds text and is a rectangle. end example]
Parent Elements |
else (§5.9.2.12); forEach (§5.9.2.14); if (§5.9.2.15); layoutDef (§5.9.2.16); layoutNode (§5.9.2.19) |
Child Elements |
Subclause |
alg (Algorithm) |
§5.9.2.3 |
choose (Choose Element) |
§5.9.2.6 |
constrLst (Constraint List) |
§5.9.2.9 |
extLst (Extension List) |
§5.9.2.13 |
forEach (For Each) |
§5.9.2.14 |
layoutNode (Layout Node) |
§5.9.2.19 |
presOf (Presentation Of) |
§5.9.2.21 |
ruleLst (Rule List) |
§5.9.2.25 |
shape (Shape) |
§5.9.2.27 |
varLst (Variable List) |
§5.9.2.31 |
Attributes |
Description |
chOrder (Child Order) |
Specifes the ordering of the child layout nodes for a given layout node.
The possible values for this attribute are defined by the ST_ChildOrderType simple type (§5.9.7.15). |
moveWith (Move With) |
Reference to another layout node that this layout node moves with.
The possible values for this attribute are defined by the XML Schema string datatype. |
name (Name) |
A unique identifier for the layout node.
The possible values for this attribute are defined by the XML Schema string datatype. |
styleLbl (Style Label) |
Specify which formatting option from a style or color variation should be applied to this layout node.
The possible values for this attribute are defined by the XML Schema string datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_LayoutNode">
<choice minOccurs="0" maxOccurs="unbounded">
<element name="alg" type="CT_Algorithm" minOccurs="0" maxOccurs="1"/>
<element name="shape" type="CT_Shape" minOccurs="0" maxOccurs="1"/>
<element name="presOf" type="CT_PresentationOf" minOccurs="0" maxOccurs="1"/>
<element name="constrLst" type="CT_Constraints" minOccurs="0" maxOccurs="1"/>
<element name="ruleLst" type="CT_Rules" minOccurs="0" maxOccurs="1"/>
<element name="varLst" type="CT_LayoutVariablePropertySet" minOccurs="0" maxOccurs="1"/>
<element name="forEach" type="CT_ForEach"/>
<element name="layoutNode" type="CT_LayoutNode"/>
<element name="choose" type="CT_Choose"/>
<element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</choice>
<attribute name="name" type="xsd:string" use="optional" default=""/>
<attribute name="styleLbl" type="xsd:string" use="optional" default=""/>
<attribute name="chOrder" type="ST_ChildOrderType" use="optional" default="b"/>
<attribute name="moveWith" type="xsd:string" use="optional" default=""/>
</complexType>