Defines a collection of font alignment attributes.
Namespace | urn:schemas-microsoft-com:office:spreadsheet |
Schema name | XML Spreadsheet 2002 |
None.
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
Horizontal | Anonymous | optional | Specifies the left-to-right alignment of text within a cell. |
|
ReadingOrder | Anonymous | optional | Specifies the default right-to-left text entry mode for a cell. |
|
Indent | xsd:unsignedLong | optional | Specifies the number of indents. This attribute is not supported by the Spreadsheet component. | See external namespace. |
Rotate | Anonymous | optional | Specifies the rotation of text within a cell. | minInclusive = -90 maxInclusive = 90 |
ShrinkToFit | TrueFalseType | optional | Specifies whether text size should be shrunk so that all of the text fits within a cell. |
|
Vertical | Anonymous | optional | Specifies the top-to-bottom alignment of text within a cell. |
|
VerticalText | TrueFalseType | optional | Specifies whether text characters are positioned to read vertically. |
|
WrapText | TrueFalseType | optional | Specifies whether the text in a cell should wrap at the cell boundary. |
|
<xsd:complexType name="AlignmentType" >
<xsd:attribute form="qualified" name="Horizontal" use="optional" default="Automatic">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CenterAcrossSelection" />
<xsd:enumeration value="Fill" />
<xsd:enumeration value="Left" />
<xsd:enumeration value="Right" />
<xsd:enumeration value="Justify" />
<xsd:enumeration value="Distributed" />
<xsd:enumeration value="Center" />
<xsd:enumeration value="Automatic" />
<xsd:enumeration value="JustifyDistributed" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="ReadingOrder" use="optional" default="Context">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="RightToLeft" />
<xsd:enumeration value="LeftToRight" />
<xsd:enumeration value="Context" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="Indent" type="xsd:unsignedLong" use="optional" default="0">
</xsd:attribute>
<xsd:attribute form="qualified" name="Rotate" use="optional" default="0">
<xsd:simpleType>
<xsd:restriction base="xsd:double">
<xsd:minInclusive value="-90" />
<xsd:maxInclusive value="90" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="ShrinkToFit" type="TrueFalseType" use="optional">
</xsd:attribute>
<xsd:attribute form="qualified" name="Vertical" use="optional" default="Automatic">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Automatic" />
<xsd:enumeration value="Top" />
<xsd:enumeration value="Bottom" />
<xsd:enumeration value="Center" />
<xsd:enumeration value="Justify" />
<xsd:enumeration value="Distributed" />
<xsd:enumeration value="JustifyDistributed" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="VerticalText" type="TrueFalseType" use="optional" default="0">
</xsd:attribute>
<xsd:attribute form="qualified" name="WrapText" type="TrueFalseType" use="optional" default="0">
</xsd:attribute>
</xsd:complexType>