17.18.18 ST_DocProtect
This simple type specifies the possible set of editing restrictions which can be enforced on a given WordprocessingML document.
[Example: Consider a WordprocessingML document that contains the following WordprocessingML specifying that hosting applications must enforce read-only protection for a given document:
<w:documentProtection w:edit="readOnly" w:enforcement="1" />
The edit attribute has a value of readOnly and an enforcement attribute with a value of 1, specifying that read- only document protection must be enforced on the given 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
Editing of Comments)
Specifies that the edits made to this document shall be restricted to: - The insertion and deletion of comments within the document - The editing of regions delimited by range permissions which match the editing rights of the user account which is performing the editing.
(Allow Editing of Form
Fields)
Specifies that the edits made to this document shall be restricted to: - The editing of form fields in sections where the formProt element (17.6.6) has a value of true. - No restrictions in sections where the formProt element has a value of false.
Specifies that no editing restrictions have been applied to the document.
No
Editing)
Specifies that the edits made to this document shall be restricted to: - The editing of regions delimited by range permissions which match the editing rights of the user account which is performing the editing.
(Allow Editing With Revision
Specifies that the edits made to this document shall be tracked as revisions. This value shall imply the presence of the trackRevisions element (17.15.1.89), and applications shall not allow that element’s state to be changed to false.
[Note: The W3C XML Schema definition of this simple type’s content model (ST_DocProtect) is located in A.1. end note]