2.13.3.3 CT_WordprocessingShape

Target namespace: http://schemas.microsoft.com/office/word/2010/wordprocessingShape

Referenced by: wsp, CT_WordprocessingGroup, CT_WordprocessingCanvas

This type defines a shape in a WordprocessingML document.

Child Elements:

cNvPr: A CT_NonVisualDrawingProps element ([ISO/IEC29500-1:2016] section A.4.1) that specifies non-visual properties. This element MUST NOT be present when the CT_WordprocessingShape is contained directly by a graphicData (Graphic Object Data) element as specified in [ISO/IEC29500-1:2016] section 20.1.2.2.17. This element MUST be present when the CT_WordprocessingShape is not contained directly by a graphicData element as specified in [ISO/IEC29500-1:2016] section 20.1.2.2.17.<120>

cNvSpPr: A CT_NonVisualDrawingShapeProps element ([ISO/IEC29500-1:2016] section A.4.1) that specifies non-visual shape properties.

cNvCnPr: A CT_NonVisualConnectorProperties element ([ISO/IEC29500-1:2016] section A.4.1) that specifies non-visual connector properties.

spPr: A CT_ShapeProperties element ([ISO/IEC29500-1:2016] section A.4.1) that specifies the visual shape properties that can be applied to a shape.<121>

style: A CT_ShapeStyle element ([ISO/IEC29500-1:2016] section A.4.1) that specifies the style information for a shape.

extLst: A CT_OfficeArtExtensionList element ([ISO/IEC29500-1:2016] section A.4.1) to hold future extensions to the parent element of this extLst element.

txbx: A CT_TextboxInfo element that specifies the textual contents of the shape if the shape is the first in the series of shapes for the same text box story.

linkedTxbx: A CT_LinkedTextboxInformation element that specifies the textual contents of the shape if the shape is not the first in the series of shapes for the indicated text box story.

bodyPr: A CT_TextBodyProperties element ([ISO/IEC29500-1:2016] section A.4.1) that specifies the body properties for the text body in a shape.

Attributes:

normalEastAsianFlow: A Boolean attribute that specifies whether the text flow of the text contents of the shape ignores the text flow value specified by the vert attribute of the bodyPr element. If this flag is set to TRUE, the value of the vert attribute of the bodyPr element on this CT_WordprocessingShape MUST be ignored, and text flows in the manner specified by the value "tbV" for an ST_TextDirection (Text Flow Direction) type as specified in [ISO/IEC29500-1:2016] section17.18.93.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_WordprocessingShape">
   <xsd:sequence minOccurs="1" maxOccurs="1">
     <xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="0" maxOccurs="1"/>
     <xsd:choice minOccurs="1" maxOccurs="1">
       <xsd:element name="cNvSpPr" type="a:CT_NonVisualDrawingShapeProps" minOccurs="1" maxOccurs="1"/>
       <xsd:element name="cNvCnPr" type="a:CT_NonVisualConnectorProperties" minOccurs="1" maxOccurs="1"/>
     </xsd:choice>
     <xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
     <xsd:choice minOccurs="0" maxOccurs="1">
       <xsd:element name="txbx" type="CT_TextboxInfo" minOccurs="1" maxOccurs="1"/>
       <xsd:element name="linkedTxbx" type="CT_LinkedTextboxInformation" minOccurs="1" maxOccurs="1"/>
     </xsd:choice>
     <xsd:element name="bodyPr" type="a:CT_TextBodyProperties" minOccurs="1" maxOccurs="1"/>
   </xsd:sequence>
   <xsd:attribute name="normalEastAsianFlow" type="xsd:boolean" use="optional" default="false"/>
 </xsd:complexType>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).