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

If this element is omitted, then the style shall not be considered a primary style for this document.

example:
<w:style  w:styleId="PStyle">
  <w:name w:val="PrimaryStyleExample"/>
  <w:qFormat/></w:style>

The <qFormat> element specifies that this style definition shall be treated as a primary style for this document. ]

Parent Elements

<style>2.7.3.17)

Attributes

Description

<val> (On/Off Value)

Specifies a binary value for the property defined by the parent XML element.

A value of on, 1, or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.

A value of off, 0, or false specifies that the property shall be explicitly turned off.

<w:… w:val="off"/>

The @val attribute explicitly declares that the property is turned off. ]

The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_OnOff">
	<attribute name="val" type="ST_OnOff"/>
</complexType>