poi/src/records/definitions/legend_record.xml
Glen Stampoultzis b08d62388c Fixed email address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352086 13f79535-47bb-0310-9956-ffa450edef68
2002-02-11 04:23:11 +00:00

32 lines
1.7 KiB
XML

<record id="0x1015" name="Legend" package="org.apache.poi.hssf.record">
<description>The legend record specifies the location of legend on a chart and it's overall size.</description>
<author>Glen Stampoultzis (glens at apache.org)</author>
<fields>
<field type="int" size="4" name="x position"/>
<field type="int" size="4" name="y position"/>
<field type="int" size="4" name="x size"/>
<field type="int" size="4" name="y size"/>
<field type="int" size="1" name="type">
<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="not docked" value="7"/>
</field>
<field type="int" size="1" name="spacing">
<const name="close" value="0"/>
<const name="medium" value="1"/>
<const name="open" value="2"/>
</field>
<field type="int" size="2" name="options">
<bit number="0" name="auto position" description="set to true if legend is docked"/>
<bit number="1" name="auto series" description="automatic series distribution"/>
<bit number="2" name="auto pos x" description="x positioning is done automatically"/>
<bit number="3" name="auto pos y" description="y positioning is done automatically"/>
<bit number="4" name="vert" description="if true legend is vertical (otherwise it's horizonal)"/>
<bit number="5" name="contains data table" description="true if the chart contains the data table"/>
</field>
</fields>
</record>