diff options
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> |