2.10.3.3 CT_GroupShape

Target namespace: http://schemas.microsoft.com/office/drawing/2008/diagram

Referenced by: CT_Drawing

This complex type specifies a group shape that represents one or more shapes grouped together. This shape is to be treated as if it were a regular shape, but instead of being described by a single geometry, it is made up of all the shape geometries encompassed within it. Within a group shape, each shape in the group is specified as it normally would be. However, a single transform can apply to the group of shapes as though it were a single shape.

Child Elements:

nvGrpSpPr: A CT_GroupShapeNonVisual element that specifies the non-visual properties of the group shape.

grpSpPr: A CT_GroupShapeProperties element ([ISO/IEC29500-1:2016] section A.4.1) that specifies group shape properties.

sp: A CT_Shape element that specifies a shape that is a child of this group.

grpSp: A CT_GroupShape element that specifies a group shape that is a child of this group.

extLst: A CT_OfficeArtExtensionList element ([ISO/IEC29500-1:2016] section A.4.1) that enables future extensions to the group shape.

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

 <xsd:complexType name="CT_GroupShape">
   <xsd:sequence>
     <xsd:element name="nvGrpSpPr" type="CT_GroupShapeNonVisual" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="grpSpPr" type="a:CT_GroupShapeProperties" minOccurs="1" maxOccurs="1"/>
     <xsd:choice minOccurs="0" maxOccurs="unbounded">
       <xsd:element name="sp" type="CT_Shape"/>
       <xsd:element name="grpSp" type="CT_GroupShape"/>
     </xsd:choice>
     <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
 </xsd:complexType>

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