Defines the font attributes to use in a style.
Namespace | urn:schemas-microsoft-com:office:spreadsheet |
Schema name | XML Spreadsheet 2002 |
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:complexType name="FontType" >
<xsd:attribute form="qualified" name="Bold" type="TrueFalseType" use="optional" default="0">
</xsd:attribute>
<xsd:attribute form="qualified" name="Color" type="xsd:string" use="optional" default="Automatic">
</xsd:attribute>
<xsd:attribute form="qualified" name="FontName" use="optional" default="Arial">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="Italic" type="TrueFalseType" use="optional" default="0">
</xsd:attribute>
<xsd:attribute form="qualified" name="Outline" type="TrueFalseType" use="optional" default="0">
</xsd:attribute>
<xsd:attribute form="qualified" name="Shadow" type="TrueFalseType" use="optional" default="0">
</xsd:attribute>
<xsd:attribute form="qualified" name="Size" type="PositiveDoubleType" use="optional" default="10">
</xsd:attribute>
<xsd:attribute form="qualified" name="StrikeThrough" type="TrueFalseType" use="optional" default="0">
</xsd:attribute>
<xsd:attribute form="qualified" name="Underline" use="optional" default="None">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None" />
<xsd:enumeration value="Single" />
<xsd:enumeration value="Double" />
<xsd:enumeration value="SingleAccounting" />
<xsd:enumeration value="DoubleAccounting" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="VerticalAlign" use="optional" default="None">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None" />
<xsd:enumeration value="Subscript" />
<xsd:enumeration value="Superscript" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute ref="x:CharSet" use="optional" />
<xsd:attribute ref="x:Family" use="optional" />
</xsd:complexType>