# ProtectStyles Element

Specifies whether the user is prevented from creating or editing styles. However, regardless of this setting, the user can still apply styles.

Value | Description
--- | ---
0 | Allow user to create and edit styles.
1 | Prevent user from creating and editing styles.

## Syntax

    <ProtectStyles>
    </ProtectStyles>

## Attributes

None

## Element properties

Property | Value
--- | ---
Name | ProtectStyles
Minimum Occurrences | 0
Maximum Occurrences | 1

## Element information

Parent elements

DocumentSettings

Child elements

None

## See also

Protection property (Document object)

©2003-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