2.15.3.1 CT_WordContentPart
Target namespace: http://schemas.microsoft.com/office/word/2010/wordml
Referenced by: contentPart, CT_WordprocessingGroup, CT_WordprocessingCanvas
A complex type that specifies a reference to XML content in a format not specified by [ISO/IEC29500-1:2016].
This element serves the same purpose as the contentPart element in WordprocessingML ([ISO/IEC29500-1:2016] section 17.3.3.2), but appears under graphicData ([ISO/IEC29500-1:2016] section 20.1.2.2.17), CT_WordprocessingGroup, and CT_WordprocessingCanvas.
Child Elements:
nvContentPartPr: A CT_WordContentPartNonVisual element that specifies non-visual properties for the content part.
xfrm: A CT_Transform2D element ([ISO/IEC29500-1:2016] section A.4.1) that specifies the 2-D transform for the content part.
extLst: A CT_OfficeArtExtensionList element ([ISO/IEC29500-1:2016] section A.4.1) that specifies the extension list in which all future extensions of element type ext is defined. The extension list, along with corresponding future extensions, is used to extend the storage capabilities of the DrawingML framework. This enables various new types of data to be stored natively in the framework.
Attributes:
bwMode: An ST_BlackWhiteMode attribute ([ISO/IEC29500-1:2016] section 20.1.10.10)
that specifies how to interpret color information contained within a content part to achieve a color, black and white, or grayscale rendering of the content part. This attribute specifies only the rendering mode applied to the content part; it does not affect how the actual color information is persisted.
r:id: An ST_RelationshipId attribute ([ISO/IEC29500-1:2016] section 22.8.2.1) that specifies the relationship identifier to a content part.
The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.
-
<xsd:complexType name="CT_WordContentPart"> <xsd:sequence> <xsd:element name="nvContentPartPr" type="CT_WordContentPartNonVisual" minOccurs="0" maxOccurs="1"/> <xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/> <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/> </xsd:sequence> <xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode" use="optional"/> <xsd:attribute ref="r:id" use="required"/> </xsd:complexType>
See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).