StylisticSets Class
Defines the StylisticSets Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:stylisticSets.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Word.StylisticSets
Namespace: DocumentFormat.OpenXml.Office2010.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
<ChildElementInfoAttribute(GetType(StyleSet), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class StylisticSets _
Inherits OpenXmlCompositeElement
'使用
Dim instance As StylisticSets
[ChildElementInfoAttribute(typeof(StyleSet), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class StylisticSets : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- StyleSet <w14:styleSet>
2.3.17 stylisticSets
Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml
A CT_StylisticSets element that specifies a list of stylistic sets that modify the display of OpenType fonts (for more information about Stylistic Sets, see [OpenType]). By default, there are no stylistic sets enabled. 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="stylisticSets" minOccurs="0" type="CT_StylisticSets"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.33 CT_StylisticSets
Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml
Referenced by: stylisticSets
CT_StylisticSets specifies a list of sets of character forms defined within the font with each serving as a stylistic set. For more information about stylistic sets, see [OpenType]. This element can have any number of styleSet child elements.
Child Elements:
styleSet : A CT_StyleSet element that specifies a stylistic set.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_StylisticSets">
<xsd:sequence minOccurs="0">
<xsd:element name="styleSet" minOccurs="0" maxOccurs="unbounded" type="CT_StyleSet"/>
</xsd:sequence>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.