<txDef>
(Text Default)
This element defines the default formatting which is applied to text in a document by default. The default formatting can and should be applied to the shape when it is initially inserted into a document.
example:
<txDef> <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> </txDef>
In this example, we see a default text 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>