[Table of Contents] [docx version]

PresentationML Reference Material - Table of Contents

cNvSpPr (Non-Visual Drawing Properties for a Shape)

This element specifies the non-visual drawing properties for a shape. These properties are to be used by the generating application to determine how the shape should be dealt with

[Example: Consider the shape that has a shape lock applied to it.



<p:cNvPr id="2" name="Rectangle 1"/>


<a:spLocks noGrp="1"/>





This shape lock is stored within the non-visual drawing properties for this shape. End example]

Parent Elements



Child Elements


extLst (Extension List)


spLocks (Shape Locks)





txBox (Text Box)


Namespace: .../drawingml/2006/main

Specifies that the corresponding shape is a text box and thus should be treated as such by the generating application. If this attribute is omitted then it is assumed that the corresponding shape is not specifically a text box.


[Note: Because a shape is not specified to be a text box does not mean that it cannot have text attached to it. A text box is merely a specialized shape with specific properties. 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_NonVisualDrawingShapeProps">


   <element name="spLocks" type="CT_ShapeLocking" minOccurs="0" maxOccurs="1"/>

   <element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>


   <attribute name="txBox" type="xsd:boolean" use="optional" default="false"/>