[Table of Contents] [docx version]
SpreadsheetML Reference Material - Table of Contents
ST_VerticalAlignRun (Vertical Alignment Run Types)
Defines the possible settings for vertical alignment of a run of text. This is used to get superscript or subscript text without altering the font size properties of the rest of the text run.
[Example:
<rPr>
</rPr>
end example]
The above example shows a run which shall be positioning as subscript when displaying its contents. The resulting run is positioned as subscript, therefore it is rendered in a smaller size below the default baseline location for the contents of the run.
This simple type's contents are a restriction of the XML Schema string datatype.
The following are possible enumeration values for this type:
Enumeration Value |
Description |
baseline (Baseline) |
Returns the text in this run to the baseline, default, alignment, and returns it to the original font size. |
subscript (Subscript) |
Specifies that this text should be subscript.
Lowers the text in this run below the baseline and changes it to a smaller size, if a smaller size is available. |
superscript (Superscript) |
Specifies that this text should be superscript.
Raises the text in this run above the baseline and changes it to a smaller size, if a smaller size is available. |
Referenced By |
vertAlign@val (§3.4.14) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_VerticalAlignRun">
<restriction base="xsd:string">
<enumeration value="baseline"/>
<enumeration value="superscript"/>
<enumeration value="subscript"/>
</restriction>
</simpleType>