# style element

Represents the style definition.

## Usage

    <style
    	type="styleKindValue"
    	styleId="stringType"
    	default="onOffType"
    />

## Element Information

Element type | styleElt
Namespace | http://schemas.microsoft.com/office/word/2003/wordml
Schema name | XML Document 2003

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
styles | Represents style definitions.
styles | Represents the style definitions.

### Child Elements

Element | Description
--- | ---
name | Represents the primary name of style. Built-in style names are converted to a language-independent form.
aliases | Represents the secondary names of a style, separated by commas
sti | Represents the built-in style's unique numerical identifier.
basedOn | Represents the styleId (name of style) this style is based on.
next | Represents the styleId name of the next-paragraph-style; used only for paragraph styles.
link | Represents the styleId of the linked style; used only for linked paragraph and character styles.
autoRedefine | Specifies whether this style can be automatically redefined when appropriate.
hidden | Specifies whether to show this style to the user.
semiHidden | Specifies not to show this style to users unless they request to see it.
locked | Restricts this style from use by the end user.
personal | Specifies whether this is another user's HTML threading personal style.
personalCompose | Specifies whether this is another user's HTML threading compose style.
personalReply | Specifies whether this is another user's HTML threading reply style.
rsid | Represents the Revision Save ID for this style, which is a unique identifier used to track when the style was last changed.
pPr | Represents the paragraph properties for the style, if any.
rPr | Represents the character properties for the style, if any.
tblPr | Represents the table properties for the style.
trPr | Represents the row properties for the style.
tcPr | Represents the cell properties for the style.
tblStylePr | Represents the table-style conditional-override properties.
wx:uiName | See external namespace.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
type | styleKindValue | optional | Gets or sets the type of style. | paragraph character table list
styleId | stringType | optional | Gets or sets the name used to refer to this style within XML. This name is unique within the file. This attribute is otherwise unused. |
default | onOffType | optional | Specifies whether this style is the default for this type of style. | on off

## Definition

    <xsd:element name="style" type="styleElt" minOccurs="0" maxOccurs="unbounded" >
    </xsd:element>

©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