WordprocessingGroup class

Office 2013 and later

Defines the WordprocessingGroup Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is wpg:wgp.

Namespace:  DocumentFormat.OpenXml.Office2010.Word.DrawingGroup
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.3.30 wgp

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

Referenced by: CT_WordprocessingCanvas

A CT_WordprocessingGroup element that specifies a group in WordprocessingML. See 2.2.7 for more details about how this element is integrated with the Open XML file formats as specified in [ISO/IEC-29500-1].

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="wgp" type="CT_WordprocessingGroup"/>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.78 CT_WordprocessingGroup

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

Referenced by: CT_WordprocessingGroup, wgp, CT_WordprocessingCanvas

This complex type defines the data that represents a group of graphical objects in WordprocessingML.

Child Elements:

cNvPr: A CT_NonVisualDrawingProps element ([ISO/IEC-29500-1] section A.4.1) that specifies the non-visual properties of the current CT_WordprocessingGroup. This element MUST NOT be present when the CT_WordprocessingGroup is contained directly by a graphicData (Graphic Object Data) element as specified in [ISO/IEC-29500-1] section 20.1.2.2.17. This element MUST be present when the CT_WordprocessingGroup is not contained directly by a graphicData element as specified in [ISO/IEC-29500-1] section 20.1.2.2.17.

cNvGrpSpPr: A CT_NonVisualGroupDrawingShapeProps element ([ISO/IEC-29500-1] section A.4.1) that specifies the non-visual group properties of the current CT_WordprocessingGroup.

grpSpPr: A CT_GroupShapeProperties element ([ISO/IEC-29500-1] section A.4.1) that specifies the properties that are common across all shapes in the current CT_WordprocessingGroup. If there are any conflicting properties between the group shape properties and shape properties, the individual shape properties SHOULD<141> take precedence.

wps:wsp: A CT_WordprocessingShape element that specifies a shape that is a child of the current CT_WordprocessingGroup.

grpSp: A CT_WordprocessingGroup element that specifies a group that is a child of the current CT_WordprocessingGroup.

graphicFrame: A CT_GraphicFrame element that specifies a graphical object that is a child of the current CT_WordprocessingGroup.<142>

pic:pic: A CT_Picture element ([ISO/IEC-29500-1] section A.4.2) that specifies a picture that is a child of the current CT_WordprocessingGroup.

w14:contentPart: A CT_WordContentPart element that specifies a content part that is a child of the current CT_WordprocessingGroup.

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

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

<xsd:complexType name="CT_WordprocessingGroup">

<xsd:sequence minOccurs="1" maxOccurs="1">

<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="0" maxOccurs="1"/>

<xsd:element name="cNvGrpSpPr" type="a:CT_NonVisualGroupDrawingShapeProps" minOccurs="1" maxOccurs="1"/>

<xsd:element name="grpSpPr" type="a:CT_GroupShapeProperties" minOccurs="1" maxOccurs="1"/>

<xsd:choice minOccurs="0" maxOccurs="unbounded">

<xsd:element ref="wps:wsp"/>

<xsd:element name="grpSp" type="CT_WordprocessingGroup"/>

<xsd:element name="graphicFrame" type="CT_GraphicFrame"/>

<xsd:element ref="pic:pic"/>

<xsd:element ref="w14:contentPart"/>

</xsd:choice>

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

</xsd:sequence>

</xsd:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: