diff options
author | Rainer Klute <klute@apache.org> | 2005-05-16 21:39:22 +0000 |
---|---|---|
committer | Rainer Klute <klute@apache.org> | 2005-05-16 21:39:22 +0000 |
commit | 8ac435580866f05c9c9c1fbe2e30e030b0587c0a (patch) | |
tree | fd7749bd7a413cb7bc8b3310a61c569452335ef0 /src/records | |
parent | ab0722bbb9e4b968be2ed66555db6576dd26954b (diff) | |
download | poi-8ac435580866f05c9c9c1fbe2e30e030b0587c0a.tar.gz poi-8ac435580866f05c9c9c1fbe2e30e030b0587c0a.zip |
- Improved the build process' with respect to its dependencies on JUnit, JDepend and an XSLT processor.
- Included DDF in the generated javadoc API documentation.
- Excluded the obsolete HDF from the generated javadoc API documentation.
- Included the CLASSPATH environment variable in the javadoc classpath so that references to third-party packages can be resolved.
- Removed all explicit references to Xalan and changed the HSSF record generator to use any XSLT processor. However, that stuff seems to be very much out of date: The XSL stylesheet won't compile even after an obvious fix. Thus my modifications are untested but that stuff won't work anyway. I doubt it is important.
- Did some beautifications on the build.xml file.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/records')
-rw-r--r-- | src/records/styles/record.xsl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/records/styles/record.xsl b/src/records/styles/record.xsl index da9f851f35..e9615d7fda 100644 --- a/src/records/styles/record.xsl +++ b/src/records/styles/record.xsl @@ -115,9 +115,9 @@ public class <xsl:value-of select="@name"/>Record <xsl:text> int pos = 0; </xsl:text> - <xsl:variable name="fieldIterator" select="field:new()"/> + <xsl:variable name="fieldIterator1" select="field:new()"/> <xsl:for-each select="//fields/field"> - <xsl:text> </xsl:text><xsl:value-of select="field:fillDecoder2($fieldIterator,position(),@name,@size,@type)"/>; + <xsl:text> </xsl:text><xsl:value-of select="field:fillDecoder2($fieldIterator1,position(),@name,@size,@type)"/>; </xsl:for-each> } @@ -137,9 +137,9 @@ public class <xsl:value-of select="@name"/>Record LittleEndian.putShort(data, 0 + offset, sid); LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4)); -<xsl:variable name="fieldIterator" select="field:new()"/> +<xsl:variable name="fieldIterator2" select="field:new()"/> <xsl:for-each select="//fields/field"><xsl:text> - </xsl:text><xsl:value-of select="field:serialiseEncoder($fieldIterator,position(),@name,@size,@type)"/> + </xsl:text><xsl:value-of select="field:serialiseEncoder($fieldIterator2,position(),@name,@size,@type)"/> </xsl:for-each> return getRecordSize(); @@ -150,10 +150,10 @@ public class <xsl:value-of select="@name"/>Record */ public int getRecordSize() { -<xsl:variable name="fieldIterator" select="field:new()"/> +<xsl:variable name="fieldIterator3" select="field:new()"/> <xsl:text> return 4 </xsl:text> <xsl:for-each select="//fields/field"> - <xsl:value-of select="field:calcSize($fieldIterator,position(),@name,@size,@type)"/> + <xsl:value-of select="field:calcSize($fieldIterator3,position(),@name,@size,@type)"/> </xsl:for-each>; } |