Defines the font characteristics to use for cells to which the defined style is applied.
<Font
Bold="TrueFalseType"
Color="xsd:string"
FontName="xsd:string"
Italic="TrueFalseType"
Outline="TrueFalseType"
Shadow="TrueFalseType"
Size="PositiveDoubleType"
StrikeThrough="TrueFalseType"
Underline="xsd:string"
VerticalAlign="xsd:string"
x:CharSet="[external type]"
x:Family="[external type]"
/>
Element type | FontType |
Namespace | urn:schemas-microsoft-com:office:spreadsheet |
Schema name | XML Spreadsheet 2002 |
Element | Description |
---|---|
Style | Defines a single style in the current workbook. This element is required for custom formatting; otherwise, it is optional. |
None.
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
Bold | TrueFalseType | optional | Specifies whether a font is bold. |
|
Color | xsd:string | optional | Specifies the color of a font. | See external namespace. |
FontName | Anonymous | optional | Specifies the name of the font. | minLength = 1 |
Italic | TrueFalseType | optional | Specifies whether a font is italic. |
|
Outline | TrueFalseType | optional | Specifies whether a font is rendered as an outline. This property is used only on the Macintosh. |
|
Shadow | TrueFalseType | optional | Specifies whether a font is shadowed. This property is used only on the Macintosh. |
|
Size | PositiveDoubleType | optional | Specifies the size of a font in points. | minInclusive = 0 |
StrikeThrough | TrueFalseType | optional | Specifies whether a font is displayed using the strikethrough style. |
|
Underline | Anonymous | optional | Specifies whether a font is displayed underlined. |
|
VerticalAlign | Anonymous | optional | Specifies the vertical alignment of a font. |
|
x:CharSet | external ref | optional | See external namespace. | See external namespace. |
x:Family | external ref | optional | See external namespace. | See external namespace. |
<xsd:element name="Font" type="FontType" minOccurs="0" >
</xsd:element>