<?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="0x1051" name="LinkedData" excel-record-id="AI" package="org.apache.poi.hssf.record">
    <suffix>Record</suffix>
    <extends>Record</extends>
    <description>Describes a linked data record.  This record refers to the series data or text.</description>
    <author>Glen Stampoultzis (glens at apache.org)</author>
    <fields>
        <field type="int" size="1" name="link type" description="What type of link is this?">
            <const name="title or text" value="0" description="links a series title or text"/>
            <const name="values" value="1" description="links to series values"/>
            <const name="categories" value="2" description="links to categories"/>
        </field>
        <field type="int" size="1" name="reference type">
            <const name="default categories" value="0" description="use default categories"/>
            <const name="direct" value="1" description="reference to some text or a value entered directly into the formula bar"/>
            <const name="worksheet" value="2" description="reference links to worksheet"/>
            <const name="not used" value="3" description="??"/>
            <const name="error reported" value="4" description="error reported"/>
        </field>
        <field type="bits" size="2" name="options">
            <bit number="0" name="custom number format" description="true if this object has a custom number format"/>
        </field>
        <field type="int" size="2" name="index number fmt record"/>
        <field type="custom:org.apache.poi.hssf.record.LinkedDataFormulaField"
            size="var" name="formula of link" description="formula"/>
    </fields>
</record>
