<spDef> (Shape Default)
This element defines the formatting that is associated with the default shape. The default formatting can be applied to a shape when it is initially inserted into a document.
example:
<spDef>
<spPr>
<solidFill>
<schemeClr val="accent2">
<shade val="75000"/>
</schemeClr>
</solidFill>
</spPr>
<bodyPr rtlCol="0" anchor="ctr"/>
<lstStyle>
<defPPr algn="ctr">
<defRPr/>
</defPPr>
</lstStyle>
<style>
<lnRef idx="1">
<schemeClr val="accent1"/>
</lnRef>
<fillRef idx="2">
<schemeClr val="accent1"/>
</fillRef>
<effectRef idx="1">
<schemeClr val="accent1"/>
</effectRef>
<fontRef idx="minor">
<schemeClr val="dk1"/>
</fontRef>
</style>
</spDef>
In this example, we see a default shape which references a certain themed fill, line, effect, and font along with an override fill to these. ]
Parent Elements |
|---|
|
Child Elements |
Subclause |
|---|---|
|
|
|
|
|
|
|
|
|
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_DefaultShapeDefinition">
<sequence>
<element name="spPr" type="CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
<element name="bodyPr" type="CT_TextBodyProperties" minOccurs="1" maxOccurs="1"/>
<element name="lstStyle" type="CT_TextListStyle" minOccurs="1" maxOccurs="1"/>
<element name="style" type="CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
<element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>