17.18.83 ST_StyleType

This simple type specifies the possible values for the types of style definitions defined within a WordprocessingML document. WordprocessingML supports six types of style definitions:

  • Paragraph styles
  • Character styles
  • Table styles
  • Numbering styles
  • Linked styles (paragraph + character)
  • Default paragraph + character properties

Each of the first four style types corresponds to a different value below, and therefore defines the style type of the current style. [Note: The last two style types are unique in that they are not simply a style type: a linked style is a pairing of a character and paragraph style via the link element (17.7.4.6); and the document default properties are defined via the docDefaults element (17.7.5.1). end note]

[Example: Consider a style defined as follows:

<w:style w:type="paragraph"  >
  <w:name w:val="My Paragraph Style"/>
  <w:rPr>
    <w:b/>
  </w:rPr>
</w:style>

The type attribute is of simple type ST_StyleType, and its value of paragraph specifies that this style definition creates a paragraph style. end example]

This simple type’s contents are a restriction of the W3C XML Schema string datatype.

This simple type is restricted to the values

listed in the following table:

Enumeration Value

Description

Specifies that the parent style definition is a character style.

Specifies that the parent style definition is a numbering style.

Specifies that the parent style definition is a paragraph style.

(Table Style)

Specifies that the parent style definition is a table style.

[Note: The W3C XML Schema definition of this simple type’s content model (ST_StyleType) is located in A.1. end note]

Last updated on