DefaultCollapsed class
Defines the DefaultCollapsed Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is w15:collapsed.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2013.Word.OnOffType
DocumentFormat.OpenXml.Office2013.Word.DefaultCollapsed
Namespace: DocumentFormat.OpenXml.Office2013.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.3.35 collapsed
Target namespace: http://schemas.microsoft.com/office/word/2012/wordml
The collapsed global element<22> is a CT_OnOff (as specified in [ISO/IEC-29500-1] section A.1) element that, when added to a paragraph (pPr element as specified in [ISO/IEC-29500-1] section 17), specifies the appearance of subsequent paragraphs.
When a collapsed element is added to a paragraph (pPr element as specified in [ISO/IEC-29500-1] section 17) of a particular heading level, immediately subsequent paragraphs with a higher heading level number appear collapsed when the document is opened.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="collapsed" type="w12:CT_OnOff"/>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).