17.18.49 ST_Lock

This simple type specifies the possible set of locking behaviors that can be applied to the contents of the nearest ancestor structured document tag when the contents of this document are edited by an application (whether through a user interface or directly).

[Example: Consider the following plain text structured document tag:

<w:sdt>
  <w:sdtPr>
    <w:lock w:val="sdtLocked"/>
    <w:text/>
  </w:sdtPr>
</w:sdt>

This plain text structured document tag’s properties contain a lock element, specifying locking behaviors for the structured document tag. Since the locking val attribute value is sdtLocked, this locking setting must specify that the contents of the structured document tag can be edited, but the structured document tag itself must not be deleted from the document. end example]

This simple type’s contents are a restriction of the W3C XML Schema string datatype.

This simple type is restricted to the values

listed in the following table:

Enumeration Value

Description

Specifies that the editing restriction applied to the nearest ancestor structured document tag shall be as follows: - This structured document tag’s contents shall not be editable - This structured document tag can be deleted in its entirety (but only entirely, no sub portion of it can be deleted)

Specifies that the editing restriction applied to the nearest ancestor structured document tag shall be as follows: - This structured document tag’s contents shall not be editable - This structured document tag shall not be deleted in its entirety

Specifies that the editing restriction applied to the nearest ancestor structured document tag shall be as follows: - This structured document tag’s contents shall be editable - This structured document tag shall not be deleted in its entirety

Specifies that no special locking behaviors shall be applied to the nearest ancestor structured document tag.

The default behaviors as specified on the lock element

Enumeration Value

Description

(17.5.2.23) shall be used.

[Note: The W3C XML Schema definition of this simple type’s content model (ST_Lock) is located in A.1. end note]

Last updated on