Helps prevent unintentional changes to all or part of an online form or document as specified.
Namespace | http://schemas.microsoft.com/office/word/2003/wordml |
Schema name | XML Document 2003 |
None.
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
edit | docProtectValue | optional | Gets or sets editing restrictions. Helps prevent unintentional editing changes as specified. |
|
formatting | onOffType | optional | Gets or sets formatting restrictions. Prevents unintentional formatting changes except as allowed. This setting does not have an effect unless the formattingEnabled attribute is on. |
|
enforcement | onOffType | optional | Gets or sets whether the specified restrictions are currently being enforced for this document. |
|
unprotectPassword | longHexNumberType | optional | Gets or sets password key to unprotect this document from unintentional formatting/editing changes. This password is not secure. | length = 4 |
<xsd:complexType name="docProtectProperty" >
<xsd:attribute name="edit" type="docProtectValue" use="optional">
</xsd:attribute>
<xsd:attribute name="formatting" type="onOffType" use="optional">
</xsd:attribute>
<xsd:attribute name="enforcement" type="onOffType">
</xsd:attribute>
<xsd:attribute name="unprotectPassword" type="longHexNumberType" use="optional">
</xsd:attribute>
</xsd:complexType>