DefaultCollapsed class

Office 2013 and later

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.

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.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).

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: