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
This commit is contained in:
parent
3e5e8d0275
commit
55114e1551
7
src/records/definitions/plot_area_record.xml
Normal file
7
src/records/definitions/plot_area_record.xml
Normal file
@ -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>
|
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user