more graphing records
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b9a7d16826
commit
c83585bf96
@ -1,33 +1,49 @@
|
|||||||
<record id="0x1015" name="Legend" package="org.apache.poi.hssf.record">
|
<record id="0x1015" name="Legend" package="org.apache.poi.hssf.record">
|
||||||
<suffix>Record</suffix>
|
<suffix>Record</suffix>
|
||||||
<extends>Record</extends>
|
<extends>Record</extends>
|
||||||
<description>The legend record specifies the location of legend on a chart and it's overall size.</description>
|
<description>Defines a legend for a chart.</description>
|
||||||
<author>Glen Stampoultzis (glens at apache.org)</author>
|
<author>Andrew C. Oliver (acoliver at apache.org)</author>
|
||||||
<fields>
|
<fields>
|
||||||
<field type="int" size="4" name="x position"/>
|
<field type="int" size="4" name="x axis upper left" description="x axis of the upper left hand corner">
|
||||||
<field type="int" size="4" name="y position"/>
|
<testresult value="0xe76"/>
|
||||||
<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>
|
||||||
<field type="int" size="1" name="spacing">
|
<field type="int" size="4" name="y axis upper left" description="y axis of the upper left hand corner">
|
||||||
<const name="close" value="0"/>
|
<testresult value="0x786"/>
|
||||||
<const name="medium" value="1"/>
|
|
||||||
<const name="open" value="2"/>
|
|
||||||
</field>
|
</field>
|
||||||
<field type="int" size="2" name="options">
|
<field type="int" size="4" name="x size" description="width along the x axis">
|
||||||
<bit number="0" name="auto position" description="set to true if legend is docked"/>
|
<testresult value="0x119"/>
|
||||||
<bit number="1" name="auto series" description="automatic series distribution"/>
|
</field>
|
||||||
<bit number="2" name="auto pos x" description="x positioning is done automatically"/>
|
<field type="int" size="4" name="y size" description="height along the y axis">
|
||||||
<bit number="3" name="auto pos y" description="y positioning is done automatically"/>
|
<testresult value="0x8b"/>
|
||||||
<bit number="4" name="vert" description="if true legend is vertical (otherwise it's horizonal)"/>
|
</field>
|
||||||
<bit number="5" name="contains data table" description="true if the chart contains the data table"/>
|
<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)"/>
|
||||||
|
<bit number="1" name="auto series" description="excel 5 only (true)"/>
|
||||||
|
<bit mask="0x4" name="auto x positioning" description="position of legend on the x axis is automatic"/>
|
||||||
|
<bit mask="0x8" name="auto y positioning" description="position of legend on the y axis is automatic"/>
|
||||||
|
<bit mask="0x10" name="vertical" description="vertical or horizontal legend (1 or 0 respectively). Always 0 if not automatic."/>
|
||||||
|
<bit mask="0x20" name="data table" description="1 if chart contains data table"/>
|
||||||
|
<!-- rest is always 0 -->
|
||||||
|
<testresult value="0x1f"/>
|
||||||
</field>
|
</field>
|
||||||
</fields>
|
</fields>
|
||||||
|
<testdata>
|
||||||
|
76 0E 00 00 86 07 00 00 19 01 00 00 8B 00 00 00 03 01 1F 00
|
||||||
|
</testdata>
|
||||||
|
<testsize>10</testsize>
|
||||||
</record>
|
</record>
|
||||||
|
15
src/records/definitions/series_index_record.xml
Normal file
15
src/records/definitions/series_index_record.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<record id="0x1065" name="SeriesIndex" package="org.apache.poi.hssf.record">
|
||||||
|
<suffix>Record</suffix>
|
||||||
|
<extends>Record</extends>
|
||||||
|
<description>links a series to its position in the series list.</description>
|
||||||
|
<author>Andrew C. Oliver (acoliver at apache.org)</author>
|
||||||
|
<fields>
|
||||||
|
<field type="int" size="2" name="index" description="where is this series in the list">
|
||||||
|
<testresult value="3"/>
|
||||||
|
</field>
|
||||||
|
</fields>
|
||||||
|
<testdata>
|
||||||
|
03 00
|
||||||
|
</testdata>
|
||||||
|
<testsize>6</testsize>
|
||||||
|
</record>
|
Loading…
Reference in New Issue
Block a user