Primary Style.When the object is serialized out as xml, its qualified name is w:qFormat.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
'Declaration Public Class PrimaryStyle _ Inherits OnOffOnlyType 'Usage Dim instance As PrimaryStyle
public class PrimaryStyle : OnOffOnlyType
[ISO/IEC 29500-1 1st Edition]
188.8.131.52 qFormat (Primary Style)
This element specifies whether this style shall be treated as a primary style when this document is loaded by an application. If this element is set, then this style has been designated as being particularly important for the current document, and this information can be used by an application in any means desired. [Note: This setting does not imply any behavior for the style, only that the style is of particular significance for this document. end note]
If this element is omitted, then the style shall not be considered a primary style for this document.
[Example: Consider a style with a primary name of PrimaryStyleExample that should be treated as a primary style for the document. This requirement would be specified using the following WordprocessingML:
<w:style … w:styleId="PStyle"> <w:name w:val="PrimaryStyleExample"/> <w:qFormat/> … </w:style>
The qFormat element specifies that this style definition must be treated as a primary style for this document. end example]
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.