diff options
author | Glen Stampoultzis <glens@apache.org> | 2002-05-01 08:02:19 +0000 |
---|---|---|
committer | Glen Stampoultzis <glens@apache.org> | 2002-05-01 08:02:19 +0000 |
commit | 0cd435942180043aa5278bb5c089b7684630dde5 (patch) | |
tree | 013fa9aa7804e891e15bbeec524c9cc9a4b291c8 /src/records/definitions | |
parent | ff5a636751dc34f060e2fc923aebd7f2bed1e04b (diff) | |
download | poi-0cd435942180043aa5278bb5c089b7684630dde5.tar.gz poi-0cd435942180043aa5278bb5c089b7684630dde5.zip |
Charting, charting, charting... getting there... bit by bit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352576 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/records/definitions')
-rw-r--r-- | src/records/definitions/axis_line_format_record.xml | 14 | ||||
-rw-r--r-- | src/records/definitions/axis_parent_record.xml | 16 | ||||
-rw-r--r-- | src/records/definitions/text_record.xml | 66 |
3 files changed, 96 insertions, 0 deletions
diff --git a/src/records/definitions/axis_line_format_record.xml b/src/records/definitions/axis_line_format_record.xml new file mode 100644 index 0000000000..000ff07987 --- /dev/null +++ b/src/records/definitions/axis_line_format_record.xml @@ -0,0 +1,14 @@ +<record id="0x1021" name="AxisLineFormat" package="org.apache.poi.hssf.record"> + <suffix>Record</suffix> + <extends>Record</extends> + <description>The axis line format record defines the axis type details.</description> + <author>Glen Stampoultzis (glens at apache.org)</author> + <fields> + <field type="int" size="2" name="axis type"> + <const name="axis line" value="0"/> + <const name="major grid line" value="1"/> + <const name="minor grid line" value="2"/> + <const name="walls or floor" value="3"/> + </field> + </fields> +</record> diff --git a/src/records/definitions/axis_parent_record.xml b/src/records/definitions/axis_parent_record.xml new file mode 100644 index 0000000000..0c8a61d57a --- /dev/null +++ b/src/records/definitions/axis_parent_record.xml @@ -0,0 +1,16 @@ +<record id="0x1041" name="AxisParent" package="org.apache.poi.hssf.record"> + <suffix>Record</suffix> + <extends>Record</extends> + <description>The axis size and location</description> + <author>Glen Stampoultzis (glens at apache.org)</author> + <fields> + <field type="int" size="2" name="axis type"> + <const name="main" value="0"/> + <const name="secondary" value="1"/> + </field> + <field type="int" size="4" name="x"/> + <field type="int" size="4" name="y"/> + <field type="int" size="4" name="width"/> + <field type="int" size="4" name="height"/> + </fields> +</record> diff --git a/src/records/definitions/text_record.xml b/src/records/definitions/text_record.xml new file mode 100644 index 0000000000..17cf812b93 --- /dev/null +++ b/src/records/definitions/text_record.xml @@ -0,0 +1,66 @@ +<record id="0x1025" name="Text" package="org.apache.poi.hssf.record"> + <suffix>Record</suffix> + <extends>Record</extends> + <description>The text record is used to define text stored on a chart.</description> + <author>Glen Stampoultzis (glens at apache.org)</author> + <fields> + <field type="int" size="1" name="horizontal alignment"> + <const name="left" value="1"/> + <const name="center" value="2"/> + <const name="bottom" value="3"/> <!-- is this correct. maybe it should be right???? --> + <const name="justify" value="4"/> + </field> + <field type="int" size="1" name="vertical alignment"> + <const name="top" value="1"/> + <const name="center" value="2"/> + <const name="bottom" value="3"/> + <const name="justify" value="4"/> + </field> + <field type="int" size="2" name="display mode"> + <const name="transparent" value="1"/> + <const name="opaque" value="2"/> + </field> + <field type="int" size="4" name="rgbColor" description="RGB color of text, high byte should be 0"/> + <field type="int" size="4" name="x" description="x position of the text in 1/4000th of the chart area"/> + <field type="int" size="4" name="y" description="y position of the text in 1/4000th of the chart area"/> + <field type="int" size="4" name="width" description="width of the text in 1/4000th of the chart area"/> + <field type="int" size="4" name="height" description="width of the text in 1/4000th of the chart area"/> + <field type="bits" size="2" name="options1"> + <bit number="0" name="auto color" description="true = automaticly selected colour, false = user-selected"/> + <bit number="1" name="show key" description="true = draw legend"/> + <bit number="2" name="show value" description="false = text is category label"/> + <bit number="3" name="vertical" description="true = text is vertical"/> + <bit number="4" name="auto generated text" description=""/> + <bit number="5" name="generated" description=""/> + <bit number="6" name="auto label deleted" description=""/> + <bit number="7" name="auto background" description=""/> + <bit mask="0x0700" name="rotation" description=""> + <const name="none" value="0"/> + <const name="top to bottom" value="1"/> + <const name="rotated 90 degrees" value="2"/> + <const name="rotated 90 degrees clockwise" value="3"/> + </bit> + <bit number="11" name="show category label as percentage" description=""/> + <bit number="12" name="show value as percentage" description=""/> + <bit number="13" name="show bubble sizes" description=""/> + <bit number="14" name="show label" description=""/> + </field> + <field type="int" size="2" name="index of color value" description="the index of the color value for the text"/> + <field type="bits" size="2" name="options2"> + <bit mask="0x000F" name="data label placement"> + <const name="chart dependent" value="0"/> + <const name="outside" value="1"/> + <const name="inside" value="2"/> + <const name="center" value="3"/> + <const name="axis" value="4"/> + <const name="above" value="5"/> + <const name="below" value="6"/> + <const name="left" value="7"/> + <const name="right" value="8"/> + <const name="auto" value="9"/> + <const name="user moved" value="10"/> + </bit> + </field> + <field type="int" size="2" name="text rotation" description="0 = horizontal, 90 = up, 180 = down, -90 = down"/> + </fields> +</record> |