w:documentProtection
Document Editing Restrictions
Element information
Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main
Schema document: wml.xsd
Type: w:CT_DocProtect
Properties: Local, Qualified
Content
- Empty content
Attributes
| Name | Occ | Type | Description | Notes |
|---|---|---|---|---|
| w:edit | [0..1] | w:ST_DocProtect | Document Editing Restrictions | |
| w:formatting | [0..1] | w:ST_OnOff | Only Allow Formatting With Unlocked Styles | |
| w:enforcement | [0..1] | w:ST_OnOff | Enforce Document Protection Settings | |
| w:cryptProviderType | [0..1] | w:ST_CryptProv | Cryptographic Provider Type | from group w:AG_Password |
| w:cryptAlgorithmClass | [0..1] | w:ST_AlgClass | Cryptographic Algorithm Class | from group w:AG_Password |
| w:cryptAlgorithmType | [0..1] | w:ST_AlgType | Cryptographic Algorithm Type | from group w:AG_Password |
| w:cryptAlgorithmSid | [0..1] | w:ST_DecimalNumber | Cryptographic Hashing Algorithm | from group w:AG_Password |
| w:cryptSpinCount | [0..1] | w:ST_DecimalNumber | Iterations to Run Hashing Algorithm | from group w:AG_Password |
| w:cryptProvider | [0..1] | w:ST_String | Cryptographic Provider | from group w:AG_Password |
| w:algIdExt | [0..1] | w:ST_LongHexNumber | Cryptographic Algorithm Extensibility | from group w:AG_Password |
| w:algIdExtSource | [0..1] | w:ST_String | Algorithm Extensibility Source | from group w:AG_Password |
| w:cryptProviderTypeExt | [0..1] | w:ST_LongHexNumber | Cryptographic Provider Type Extensibility | from group w:AG_Password |
| w:cryptProviderTypeExtSource | [0..1] | w:ST_String | Provider Type Extensibility Source | from group w:AG_Password |
| w:hash | [0..1] | xsd:base64Binary | Password Hash | from group w:AG_Password |
| w:salt | [0..1] | xsd:base64Binary | Salt for Password Verifier | from group w:AG_Password |
Used in
- Type w:CT_Settings (Element w:settings)
Sample instance
<w:documentProtection/>



