diff options
author | Andrew C. Oliver <acoliver@apache.org> | 2002-05-19 15:51:29 +0000 |
---|---|---|
committer | Andrew C. Oliver <acoliver@apache.org> | 2002-05-19 15:51:29 +0000 |
commit | 352c580b0cbd00313833f9b787061061356306eb (patch) | |
tree | 9ea412ea06daa3a69f49a661ac3559d5ae0f58a4 /src/records | |
parent | 086cfe1c317279c7883f0c45d3fc288dbdaf5ac6 (diff) | |
download | poi-352c580b0cbd00313833f9b787061061356306eb.tar.gz poi-352c580b0cbd00313833f9b787061061356306eb.zip |
new support for sizeless records
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352631 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/records')
-rw-r--r-- | src/records/definitions/plot_area_record.xml | 7 | ||||
-rw-r--r-- | src/records/styles/record.xsl | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/records/definitions/plot_area_record.xml b/src/records/definitions/plot_area_record.xml new file mode 100644 index 0000000000..2c883bf32b --- /dev/null +++ b/src/records/definitions/plot_area_record.xml @@ -0,0 +1,7 @@ +<record id="0x1035" name="PlotArea" package="org.apache.poi.hssf.record"> + <suffix>Record</suffix> + <extends>Record</extends> + <description>preceeds and identifies a frame as belonging to the plot area.</description> + <author>Andrew C. Oliver (acoliver at apache.org)</author> + <testsize>4</testsize> +</record> diff --git a/src/records/styles/record.xsl b/src/records/styles/record.xsl index 1f62a6537e..d4ae2ac80d 100644 --- a/src/records/styles/record.xsl +++ b/src/records/styles/record.xsl @@ -166,7 +166,7 @@ public class <xsl:value-of select="@name"/>Record public int getRecordSize() { <xsl:variable name="fieldIterator" select="field:new()"/> -<xsl:text> return 4 + </xsl:text> +<xsl:text> return 4 </xsl:text> <xsl:for-each select="//fields/field"> <xsl:value-of select="field:calcSize($fieldIterator,position(),@name,@size,@type)"/> </xsl:for-each>; |