docProtectProperty complexType [Word 2003 XML Reference] -- Microsoft Office Word 2003 XML Software Development Kit
docProtectProperty complexType [Word 2003 XML Reference]
Helps prevent unintentional changes to all or part of an online form or document as specified.
Type Information
Namespace | http://schemas.microsoft.com/office/word/2003/wordml |
Schema name | XML Document 2003 |
Elements and Attributes
Child Elements
None.
Attributes
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 |
Definition
<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>
©2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp