SdtRepeatedSection class

Office 2013 and later

Defines the SdtRepeatedSection Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is w15:repeatingSection.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2013.Word.SdtRepeatedSection

Namespace:  DocumentFormat.OpenXml.Office2013.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

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

2.3.32 repeatingSection

Target namespace: http://schemas.microsoft.com/office/word/2012/wordml

The repeatingSection global element<19> is a CT_SdtRepeatedSection (section 2.5.42) element that specifies that the parent structured document tag (as specified in [ISO/IEC-29500-1] section 17.5.2) is a container for repeated items. The parent structured document tag MUST contain only repeatingSectionItem (section 2.3.33) structured document tags.

If dataBinding (as specified in [ISO/IEC-29500-1] section 17.5.2.6) is specified and the binding results in finding XML elements then the numerical relation between the number of elements matched and the number of repeatingSectionItems (section 2.3.33) contained MUST be maintained.

See section 2.2.3 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="repeatingSection" type="CT_SdtRepeatedSection"/>

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

2.5.42 CT_SdtRepeatedSection

Target namespace: http://schemas.microsoft.com/office/word/2012/wordml

Referenced by: repeatingSection

The CT_SdtRepeatedSection complex type<42> specifies the properties of a structured document tag (as specified in [ISO/IEC-29500-1] section 17.5.2) in the form of a repeated section.

Child Elements:

sectionTitle: An optional CT_String (as specified in [ISO/IEC-29500-1] section A.1) element that specifies the display name of the repeated section.

doNotAllowInsertDeleteSection: A CT_OnOff (as specified in [ISO/IEC-29500-1] section A.1) element that specifies whether to allow the insertion of new or deletion of old repeatingSectionItems (section 2.3.33) contained within the structured document tag except when needed to maintain the numerical relation between the number of elements matched through data binding and the number of repeatingSectionItems (section 2.3.33) contained.

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

<xsd:complexType name="CT_SdtRepeatedSection">

<xsd:sequence>

<xsd:element name="sectionTitle" type="w12:CT_String" minOccurs="0"/>

<xsd:element name="doNotAllowInsertDeleteSection" type="w12:CT_OnOff" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

See section 5.2 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: