made abstract /AbstractType and fixed dup messed up field

iPR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew C. Oliver 2002-03-25 01:09:19 +00:00
parent a6ea70e6db
commit f5279df039
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
<field type="int" size="2" name="version"/>
<field type="int" size="2" name="product version"/>
<field type="int" size="2" name="language stamp"/>
<field type="int" size="2" name="unknown 1"/>
<field type="int" size="2" name="unknown 0"/>
<field type="int" size="2" name="options">
<bit number="0" mask="0x0001" name="template"/>
<bit number="1" mask="0x0002" name="glossary"/>
@ -216,7 +216,7 @@
<field type="int" size="4" name="length Plcf Ann Bkark Last"/>
<field type="int" size="4" name="length Plcf Ann Bkark Last"/>
<field type="int" size="4" name="PlcfAtnbkl"/>
<field type="int" size="4" name="fcPms"/>

View File

@ -76,7 +76,7 @@ import org.apache.poi.hdf.model.hdftypes.HDFType;
* remove the record in src/records/definitions.
<xsl:apply-templates select="author"/>
*/
public class <xsl:value-of select="@name"/>Type
public abstract class <xsl:value-of select="@name"/>AbstractType
implements HDFType
{
@ -84,7 +84,7 @@ public class <xsl:value-of select="@name"/>Type
<xsl:apply-templates select="./bit|./const"/>
</xsl:for-each>
public <xsl:value-of select="@name"/>Type()
public <xsl:value-of select="@name"/>AbstractType()
{
<xsl:for-each select="//fields/field"><xsl:if test="@default">
<xsl:text> </xsl:text>