Freigeben über


WordprocessingGroup-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.DrawingGroup.WordprocessingGroupType
        DocumentFormat.OpenXml.Office2010.Word.DrawingGroup.WordprocessingGroup

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class WordprocessingGroup _
    Inherits WordprocessingGroupType
'Usage
Dim instance As WordprocessingGroup
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class WordprocessingGroup : WordprocessingGroupType

Hinweise

The following table lists the possible child types:

  • NonVisualDrawingProperties <wpg:cNvPr>

  • NonVisualGroupDrawingShapeProperties <wpg:cNvGrpSpPr>

  • GroupShapeProperties <wpg:grpSpPr>

  • DocumentFormat.OpenXml.Office2010.Word.DrawingShape.WordprocessingShape <wps:wsp>

  • GroupShape <wpg:grpSp>

  • GraphicFrame <wpg:graphicFrame>

  • DocumentFormat.OpenXml.Drawing.Pictures.Picture <pic:pic>

  • DocumentFormat.OpenXml.Office2010.Word.ContentPart <w14:contentPart>

  • OfficeArtExtensionList <wpg:extLst>

2.3.16 wgp

Target namespace: https://schemas.microsoft.com/office/word/2008/6/28/wordprocessingGroup

A CT_WordProcessingGroup element that specifies a group in WordprocessingML. See section 2.2.7 for how this element integrates with [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.5 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.46 CT_WordProcessingGroup

Target namespace: https://schemas.microsoft.com/office/word/2008/6/28/wordprocessingGroup

Referenced by: CT_WordProcessingGroup, wgp

This complex type defines the data necessary to represent a group of graphical objects in WordprocessingML.

Child Elements:

cNvPr : A CT_NonVisualDrawingProps ([ISO/IEC-29500-1] section A.4.1) element 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 [ISO/IEC-29500-1] §20.1.2.2.17 graphicData (Graphic Object Data) element. This element MUST be present when the CT_WordProcessingGroup is not contained directly by a [ISO/IEC-29500-1] §20.1.2.2.17 graphicData (Graphic Object Data) element.

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

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

wsp:wsp : A CT_WordShape 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.

e2o : <13>A CT_E2oFrame element that specifies a graphical object that is a child of the current CT_WordProcessingGroup.

pic:pic : A CT_Picture ([ISO/IEC-29500-1] section A.4.2) element 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 ([ISO/IEC-29500-1] section A.4.1) element 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="wsp:wsp"/>

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

<xsd:element name="e2o" type="CT_E2oFrame"/>

<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.5 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

WordprocessingGroup-Member

DocumentFormat.OpenXml.Office2010.Word.DrawingGroup-Namespace