2.3.23 ST_enmHorizontalAlignment

Referenced by: CT_Alignment, CT_Cell

The horizontal alignment and internal spacing of the worksheet cell value or conditional formatting.

The following table shows the enumeration values for this type.

Value

Meaning

Automatic

Equivalent to the [ISO/IEC-29500-1] ST_HorizontalAlignment general enumeration value.

Center

Equivalent to the [ISO/IEC-29500-1] ST_HorizontalAlignment center enumeration value.

Left

Equivalent to the [ISO/IEC-29500-1] ST_HorizontalAlignment left enumeration value.

Right

Equivalent to the [ISO/IEC-29500-1] ST_HorizontalAlignment right enumeration value.

Fill

Equivalent to the [ISO/IEC-29500-1] ST_HorizontalAlignment fill enumeration value.

Justify

Equivalent to the [ISO/IEC-29500-1] ST_HorizontalAlignment justify enumeration value.

CenterAcrossSelection

Equivalent to the [ISO/IEC-29500-1] ST_HorizontalAlignment centerContinuous enumeration value.

Distributed

Equivalent to the [ISO/IEC-29500-1] ST_HorizontalAlignment distributed enumeration value.

JustifyDistributed

Combination of Justify and Distributed enumeration values.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this simple type.

 <xs:simpleType name="ST_enmHorizontalAlignment">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Automatic"/>
     <xs:enumeration value="Center"/>
     <xs:enumeration value="Left"/>
     <xs:enumeration value="Right"/>
     <xs:enumeration value="Fill"/>
     <xs:enumeration value="Justify"/>
     <xs:enumeration value="CenterAcrossSelection"/>
     <xs:enumeration value="Distributed"/>
     <xs:enumeration value="JustifyDistributed"/>
   </xs:restriction>
 </xs:simpleType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).