[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

styleLockQFSet (Prevent Replacement of Styles Part)

This element specifies whether applications shall prevent the replacement of the complete set of styles stored in the Styles part when editing this document. This setting should not preclude the editing or removal of individual styles, instead, it should only prevent the removal and replacement of the entire styles part in a single operation (either through a user interface or a programmatic operation).

If this element is omitted, then applications may allow the replacement of the entire styles part in this document.

[Example: Consider a WordprocessingML document that specifies that applications shall prevent the replacement of the entire styles part. This requirement would be specified using the following WordprocessingML in the document settings part:

<w:styleLockQFSet w:val="true"/>

The styleLockQFSet element's val attribute has a value of true specifying that individual style changes should be allowed, but the styles data shall not be replaced as a whole via a single operation. end example]

Parent Elements

settings2.15.1.78)

 

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.

 

[Example: For example, consider the following on/off property:

 

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

 

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

 

The possible values for this attribute are defined by the ST_OnOff simple type2.18.67).

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

<complexType name="CT_OnOff">

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

</complexType>