# AlignmentType complexType

Specifies a PivotList specific complex type.

## Type Information

Namespace | urn:schemas-microsoft-com:office:excel
Schema name | XML Spreadsheet 2000

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
Horizontal | Specifies the type of horizontal alignment.
Rotation | Specifies that the content is rotated.
Vertical | Specifies the type of vertical alignment.
ReadingOrder | Specifies the direction of text.

### Attributes

None.

## Definition

    <xsd:complexType name="AlignmentType" >
      <xsd:sequence>
        <xsd:element name="Horizontal" minOccurs="0">
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:enumeration value="Automatic" />
              <xsd:enumeration value="Center" />
              <xsd:enumeration value="Distributed" />
              <xsd:enumeration value="Justify" />
              <xsd:enumeration value="Left" />
              <xsd:enumeration value="Right." />
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Rotation" type="xsd:int" minOccurs="0">
        </xsd:element>
        <xsd:element name="Vertical" minOccurs="0">
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:enumeration value="Automatic" />
              <xsd:enumeration value="Bottom" />
              <xsd:enumeration value="Center" />
              <xsd:enumeration value="Distributed" />
              <xsd:enumeration value="Justify" />
              <xsd:enumeration value="Top" />
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="ReadingOrder" minOccurs="0">
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:enumeration value="Context" />
              <xsd:enumeration value="LeftToRight" />
              <xsd:enumeration value="RightToLeft" />
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>

©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