17.7.4.7 locked

This element specifies whether an application shall prevent the use of this style when this document is loaded and/or modified. If this element is set, then this style can be used to format existing content (i.e. any content which references this style shall have its properties as normal), but new instances of the style shall be prevented from being applied via all mechanisms associated with that application.

If this element is omitted, then the use of the style shall not be prevented by an application processing this document.

[Example: Consider a style with a primary name of Test Style which should be locked, and prevented from being added to any content in a given document. This requirement would be specified using the following WordprocessingML:

<w:style  w:styleId="TestStyle">
  <w:name w:val="Test Style"/>
  <w:locked/>
</w:style>

The presence of the locked element specifies that new instances of the style must be prevented from being applied via all mechanisms associated with that application. end example]

This element’s content model is defined by the common boolean property definition in 17.17.4.

Last updated on