| <?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="0x1015" name="Legend" excel-record-id="LEGEND" |
| package="org.apache.poi.hssf.record"> |
| <suffix>Record</suffix> |
| <extends>Record</extends> |
| <description>Defines a legend for a chart.</description> |
| <author>Andrew C. Oliver (acoliver at apache.org)</author> |
| <fields> |
| <field type="int" size="4" name="x axis upper left" description="x axis of the upper left hand corner"> |
| <testresult value="0xe76"/> |
| </field> |
| <field type="int" size="4" name="y axis upper left" description="y axis of the upper left hand corner"> |
| <testresult value="0x786"/> |
| </field> |
| <field type="int" size="4" name="x size" description="width along the x axis"> |
| <testresult value="0x119"/> |
| </field> |
| <field type="int" size="4" name="y size" description="height along the y axis"> |
| <testresult value="0x8b"/> |
| </field> |
| <field type="int" size="1" name="type" description="type of legend (mostly position)"> |
| <const name="bottom" value="0"/> |
| <const name="corner" value="1"/> |
| <const name="top" value="2"/> |
| <const name="right" value="3"/> |
| <const name="left" value="4"/> |
| <const name="undocked" value="7"/> |
| <testresult value="0x3"/> |
| </field> |
| <field type="int" size="1" name="spacing" description="how close the parts of the legend are together"> |
| <const name="close" value="0"/> |
| <const name="medium" value="1"/> |
| <const name="open" value="2"/> |
| <testresult value="0x1"/> |
| </field> |
| <field type="int" size="2" name="options" description="various bit settings"> |
| <bit number="0" name="auto position" description="automatic positioning (1=docked)"> |
| <testresult value="true"/> |
| </bit> |
| <bit number="1" name="auto series" description="excel 5 only (true)"> |
| <testresult value="true"/> |
| </bit> |
| <bit number="2" name="auto x positioning" description="position of legend on the x axis is automatic"> |
| <testresult value="true"/> |
| </bit> |
| <bit number="3" name="auto y positioning" description="position of legend on the y axis is automatic"> |
| <testresult value="true"/> |
| </bit> |
| <bit number="4" name="vertical" description="vertical or horizontal legend (1 or 0 respectively). Always 0 if not automatic."> |
| <testresult value="true"/> |
| </bit> |
| <bit number="5" name="data table" description="1 if chart contains data table"> |
| <testresult value="false"/> |
| </bit> |
| <!-- rest is always 0 --> |
| <testresult value="0x1f"/> |
| </field> |
| </fields> |
| <testdata> |
| 76 0E 00 00 86 07 00 00 19 01 00 00 8B 00 00 00 03 01 1F 00 |
| </testdata> |
| <testsize>24</testsize> |
| </record> |