docProtectProperty complexType

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 | wordnet

## 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. | none read-only comments tracked-changes forms
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. | on off
enforcement | onOffType | optional | Gets or sets whether the specified restrictions are currently being enforced for this document. | on off
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

XML
    <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>

©2006 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/odcXMLRefLegalNotice12.asp