<?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="0x100a" name="AreaFormat" excel-record-id="AREAFORMAT" package="org.apache.poi.hssf.record">
    <suffix>Record</suffix>
    <extends>Record</extends>
    <description>The area format record is used to define the colours and patterns for an area.</description>
    <author>Glen Stampoultzis (glens at apache.org)</author>
    <fields>
        <field type="int" size="4" name="foreground color" description="foreground color in RGB"/>
        <field type="int" size="4" name="background color" description="background color in RGB"/>
        <field type="int" size="2" name="pattern" description="fill pattern"/>
        <field type="int" size="2" name="format flags">
            <bit number="0" name="automatic" description="automatic formatting"/>
            <bit number="1" name="invert" description="swap foreground and background colours when data is negative"/>
        </field>
        <field type="int" size="2" name="forecolor index" description="index to foreground color"/>
        <field type="int" size="2" name="backcolor index" description="index to background color"/>
    </fields>
</record>
