diff options
author | Glen Stampoultzis <glens@apache.org> | 2002-03-25 10:29:27 +0000 |
---|---|---|
committer | Glen Stampoultzis <glens@apache.org> | 2002-03-25 10:29:27 +0000 |
commit | 9b00dd9504311bc22ba0d575a0a4fbb707c312eb (patch) | |
tree | f68782795a9bbb619430407eb79319c452d35b4b /src/records | |
parent | 538e0edd02f27a0ccd49c24125d4bae6c1d8033b (diff) | |
download | poi-9b00dd9504311bc22ba0d575a0a4fbb707c312eb.tar.gz poi-9b00dd9504311bc22ba0d575a0a4fbb707c312eb.zip |
Series label record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352281 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/records')
-rw-r--r-- | src/records/definitions/attached_label_record.xml | 16 | ||||
-rw-r--r-- | src/records/styles/record_test.xsl | 7 |
2 files changed, 22 insertions, 1 deletions
diff --git a/src/records/definitions/attached_label_record.xml b/src/records/definitions/attached_label_record.xml new file mode 100644 index 0000000000..4adc324192 --- /dev/null +++ b/src/records/definitions/attached_label_record.xml @@ -0,0 +1,16 @@ +<record id="0x100c" name="SeriesLabels" package="org.apache.poi.hssf.record"> + <suffix>Record</suffix> + <extends>Record</extends> + <description>The series label record defines the type of label associated with the data format record.</description> + <author>Glen Stampoultzis (glens at apache.org)</author> + <fields> + <field type="int" size="2" name="format flags"> + <bit number="0" name="show actual" description="show actual value of the data point"/> + <bit number="1" name="show percent" description="show value as percentage of total (pie charts only)"/> + <bit number="2" name="label as percentage" description="show category label/value as percentage (pie charts only)"/> + <bit number="3" name="smoothed line" description="show smooth line"/> + <bit number="4" name="show label" description="display category label"/> + <bit number="5" name="show bubble sizes" description="??"/> + </field> + </fields> +</record> diff --git a/src/records/styles/record_test.xsl b/src/records/styles/record_test.xsl index 3b4c94b386..95e3b1cb17 100644 --- a/src/records/styles/record_test.xsl +++ b/src/records/styles/record_test.xsl @@ -87,7 +87,8 @@ public class Test<xsl:value-of select="@name"/>Record public void testLoad() throws Exception { - + fail("Not implemented"); + /* <xsl:value-of select="@name"/>Record record = new <xsl:value-of select="@name"/>Record((short)<xsl:value-of select="@id"/>, (short)data.length, data); <xsl:for-each select="//fields/field"> assertEquals( XXX, record.get<xsl:value-of select="recutil:getFieldName1stCap(@name,0)"/>()); <xsl:apply-templates select="./bit" mode="get"/> @@ -96,10 +97,13 @@ public class Test<xsl:value-of select="@name"/>Record assertEquals( XXX, record.getRecordSize() ); record.validateSid((short)<xsl:value-of select="@id"/>); + */ } public void testStore() { + fail("Not implemented"); + /* <xsl:value-of select="@name"/>Record record = new <xsl:value-of select="@name"/>Record(); <xsl:for-each select="//fields/field"> record.set<xsl:value-of select="recutil:getFieldName1stCap(@name,0)"/>( XXXX ); <xsl:apply-templates select="./bit" mode="set"/> @@ -109,6 +113,7 @@ public class Test<xsl:value-of select="@name"/>Record assertEquals(recordBytes.length - 4, data.length); for (int i = 0; i < data.length; i++) assertEquals("At offset " + i, data[i], recordBytes[i+4]); + */ } } </xsl:template> |