blob: 9bf54470a6ec34efa4f2fbb0c5b71d8a1b824dba [file] [log] [blame]
<?xml version="1.0"?>
<!--
====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
====================================================================
-->
<record id="0x31" name="Font" excel-record-id="FONT" package="org.apache.poi.hssf.records">
<suffix>Record</suffix>
<extends>Record</extends>
<description>Describes a font record. In Excel a font belongs in the font table.</description>
<author>Glen Stampoultzis (glens at apache.org)</author>
<fields>
<field type="int" size="2" name="font height"/>
<field type="bits" size="2" name="attributes">
<bit number="1" name="italic" description="Indicates whether a font has an italic appearance"/>
<bit number="3" name="struck out" description="Indicates whether a font has a line through the middle."/>
</field>
<field type="int" size="2" name="colour palette index"/>
<field type="int" size="2" name="bold weight">
<const name="normal text" value="400" description="Sets text to normal appearance"/>
<const name="bold text" value="700" description="Redenders a font bold"/>
</field>
<field type="int" size="2" name="super sub script">
<const name="none" value="0"/>
<const name="super script" value="1"/>
<const name="subscript" value="2"/>
</field>
<field type="int" size="1" name="underline">
<const name="none" value="0"/>
<const name="single" value="1"/>
<const name="double" value="2"/>
<const name="single accounting" value="3"/>
<const name="double accounting" value="4"/>
</field>
<field type="int" size="1" name="font family"/>
<field type="int" size="1" name="character set"/>
<field type="int" size="1" name="reserved"/>
<field type="string" size="var" name="font name"/>
</fields>
</record>