<ST_Lock> (Locking Types)

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

example:
<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 shall specify that the contents of the structured document tag may be edited, but the structured document tag itself shall not be deleted from the document. ]

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

The following are possible enumeration values for this type:

Enumeration Value

Description

<contentLocked> (Contents Cannot Be Edited At Runtime)

Specifies that the editing restriction applied to the parent structured document tag shall be as follows:

  • This structured document tag's contents shall not be editable

  • This structured document tag may be deleted in its entirety (but only entirely, no sub portion of it may be deleted)

<sdtContentLocked> (Contents Cannot Be Edited At Runtime And SDT Cannot Be Deleted)

Specifies that the editing restriction applied to the parent 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

<sdtLocked> (SDT Cannot Be Deleted)

Specifies that the editing restriction applied to the parent 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

<unlocked> (No Locking)

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

The default behaviors as specified on the <lock> element (§2.5.2.22) shall be used.

Referenced By

<lock@val>2.5.2.22)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_Lock">
	<restriction base="xsd:string">
	<enumeration value="sdtLocked"/>
	<enumeration value="contentLocked"/>
	<enumeration value="unlocked"/>
	<enumeration value="sdtContentLocked"/>
	</restriction>
</simpleType>