mirror of https://github.com/apache/poi.git
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
086cfe1c31
commit
352c580b0c
|
@ -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