]> source.dussan.org Git - poi.git/commitdiff
made abstract /AbstractType and fixed dup messed up field
authorAndrew C. Oliver <acoliver@apache.org>
Mon, 25 Mar 2002 01:09:19 +0000 (01:09 +0000)
committerAndrew C. Oliver <acoliver@apache.org>
Mon, 25 Mar 2002 01:09:19 +0000 (01:09 +0000)
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

src/types/definitions/fib_type.xml
src/types/styles/hdftype.xsl

index 0ac08896fce259a3bd37c5f3f6b9b415d55159bf..07d384fd44caa911c1b60e03b13238208bc59418 100644 (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"/>
 
     <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"/>
     
index 091b89bfb9ab93c3ee9b2fef5ccd90fcaec10b54..4abf444efa8ac251bd65cecc6ad91022236b8bac 100644 (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>