sackley     2003/07/08 18:01:27

  Modified:    src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes
                        SectionDescriptor.java SEPX.java SectionTable.java
  Log:
  latest updates
  
  Revision  Changes    Path
  1.3       +6 -0      
jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionDescriptor.java
  
  Index: SectionDescriptor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionDescriptor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SectionDescriptor.java    9 Jun 2003 01:55:10 -0000       1.2
  +++ SectionDescriptor.java    9 Jul 2003 01:01:27 -0000       1.3
  @@ -91,6 +91,12 @@
       this.fc = fc;
     }
   
  +  public boolean equals(Object o)
  +  {
  +    SectionDescriptor sed = (SectionDescriptor)o;
  +    return sed.fn == fn && sed.fnMpr == fnMpr;
  +  }
  +
     public byte[] toByteArray()
     {
       int offset = 0;
  
  
  
  1.3       +9 -0      
jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SEPX.java
  
  Index: SEPX.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SEPX.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SEPX.java 9 Jun 2003 01:55:10 -0000       1.2
  +++ SEPX.java 9 Jul 2003 01:01:27 -0000       1.3
  @@ -78,4 +78,13 @@
       return _sed;
     }
   
  +  public boolean equals(Object o)
  +  {
  +    SEPX sepx = (SEPX)o;
  +    if (super.equals(o))
  +    {
  +      return sepx._sed.equals(_sed);
  +    }
  +    return false;
  +  }
   }
  
  
  
  1.4       +5 -0      
jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionTable.java
  
  Index: SectionTable.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionTable.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SectionTable.java 24 Jun 2003 11:32:30 -0000      1.3
  +++ SectionTable.java 9 Jul 2003 01:01:27 -0000       1.4
  @@ -100,6 +100,11 @@
       }
     }
   
  +  public ArrayList getSections()
  +  {
  +    return _sections;
  +  }
  +
     public void writeTo(HWPFFileSystem sys, int fcMin)
       throws IOException
     {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to