diff options
author | Glen Stampoultzis <glens@apache.org> | 2002-03-08 15:07:30 +0000 |
---|---|---|
committer | Glen Stampoultzis <glens@apache.org> | 2002-03-08 15:07:30 +0000 |
commit | 64d9a3766419be77d7046a4d237ec4854f4e7acf (patch) | |
tree | 54db2b1fb48788a852f6c6594cae8dc4a69bb62c /src/records | |
parent | 7a13f8971be8b93caa1f2fb8ecdaea91be29172a (diff) | |
download | poi-64d9a3766419be77d7046a4d237ec4854f4e7acf.tar.gz poi-64d9a3766419be77d7046a4d237ec4854f4e7acf.zip |
Record generator fix plus new record. Must write email regarding it's uses but first got to sleep. 2am.. zzzz
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/records')
-rw-r--r-- | src/records/definitions/series_list_record.xml | 7 | ||||
-rw-r--r-- | src/records/styles/record.xsl | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/records/definitions/series_list_record.xml b/src/records/definitions/series_list_record.xml new file mode 100644 index 0000000000..d1b48a7d30 --- /dev/null +++ b/src/records/definitions/series_list_record.xml @@ -0,0 +1,7 @@ +<record id="0x1016" name="SeriesList" package="org.apache.poi.hssf.record"> + <description>The series list record defines the series displayed as an overlay to the main chart record.</description> + <author>Glen Stampoultzis (glens at apache.org)</author> + <fields> + <field type="int" size="varword" name="series numbers"/> + </fields> +</record> diff --git a/src/records/styles/record.xsl b/src/records/styles/record.xsl index 435fd17977..c4d4110e13 100644 --- a/src/records/styles/record.xsl +++ b/src/records/styles/record.xsl @@ -246,9 +246,9 @@ public class <xsl:value-of select="@name"/>Record </xsl:template> <xsl:template match="field" mode="tostring"> - buffer.append(" .<xsl:value-of select="recutil:getFieldName(@name,20)"/> = ")<xsl:if test="@type != 'string' and @type != 'float'"> + buffer.append(" .<xsl:value-of select="recutil:getFieldName(@name,20)"/> = ")<xsl:choose><xsl:when test="@type != 'string' and @type != 'float' and @size != 'varword'"> .append("0x") - .append(HexDump.toHex((<xsl:value-of select="recutil:getType(@size,@type,00)"/>)get<xsl:value-of select="recutil:getFieldName1stCap(@name,0)"/>()))</xsl:if> + .append(HexDump.toHex((<xsl:value-of select="recutil:getType(@size,@type,00)"/>)get<xsl:value-of select="recutil:getFieldName1stCap(@name,0)"/>()))</xsl:when></xsl:choose> .append(" (").append(get<xsl:value-of select="recutil:getFieldName1stCap(@name,0)"/>()).append(" )\n"); <xsl:apply-templates select="bit" mode="bittostring"/> </xsl:template> |