ContextualAlternatives class
Defines the ContextualAlternatives Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:cntxtAlts.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.Word.OnOffType
DocumentFormat.OpenXml.Office2010.Word.ContextualAlternatives
Namespace: DocumentFormat.OpenXml.Office2010.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.3.22 cntxtAlts
Target namespace: http://schemas.microsoft.com/office/word/2010/wordml
A CT_OnOff element that specifies whether to display the characters using contextual alternates. (For more information about contextual alternates, see [OpenType].) By default, text is not displayed using contextual alternates. See section 2.2.1 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="cntxtAlts" minOccurs="0" type="CT_OnOff"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.2 CT_OnOff
Target namespace: http://schemas.microsoft.com/office/word/2010/wordml
Referenced by: CT_SdtCheckbox, conflictMode, discardImageEditingData, cntxtAlts
A complex type that specifies a value for a Boolean (true or false) property.
Attributes:
val: An optional ST_OnOff attribute that specifies the value of the property. By default, the value is true.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_OnOff">
<xsd:attribute name="val" type="ST_OnOff"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).