summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/records/definitions/plot_area_record.xml7
-rw-r--r--src/records/styles/record.xsl2
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>;