[Table of Contents] [docx version]
PresentationML Reference Material - Table of Contents
This element specifies the existence of a single shape. A shape can either be a preset or a custom geometry, defined using the DrawingML framework. In addition to a geometry each shape can have both visual and non-visual properties attached. Text and corresponding styling information can also be attached to a shape. This shape is specified along with all other shapes within either the shape tree or group shape elements.
[Note: Shapes are the preferred mechanism for specifying text on a slide. End note]
Parent Elements |
Child Elements |
Subclause |
extLst (Extension List with Modification Flag) |
§4.2.4 |
nvSpPr (Non-Visual Properties for a Shape) |
§4.4.1.31 |
spPr (Shape Properties) |
§4.4.1.41 |
style (Shape Style) |
§4.4.1.43 |
txBody (Shape Text Body) |
§4.4.1.47 |
Attributes |
Description |
useBgFill (Use Background Fill) |
Specifies that the shape fill should be set to that of the slide background surface.
[Note: This attribute does not set the fill of the shape to be transparent but instead sets it to be filled with the portion of the slide background that is directly behind it. End note]
The possible values for this attribute are defined by the XML Schema boolean datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Shape">
<sequence>
<element name="nvSpPr" type="CT_ShapeNonVisual" minOccurs="1" maxOccurs="1"/>
<element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
<element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
<element name="txBody" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
<element name="extLst" type="CT_ExtensionListModify" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="useBgFill" type="xsd:boolean" use="optional" default="false"/>
</complexType>