latest updates

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Said Ryan Ackley 2003-07-09 01:01:27 +00:00
parent 245a2d391c
commit bd74b241b6
3 changed files with 20 additions and 0 deletions

View File

@ -78,4 +78,13 @@ public class SEPX extends PropertyNode
return _sed;
}
public boolean equals(Object o)
{
SEPX sepx = (SEPX)o;
if (super.equals(o))
{
return sepx._sed.equals(_sed);
}
return false;
}
}

View File

@ -91,6 +91,12 @@ public class SectionDescriptor
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;

View File

@ -100,6 +100,11 @@ public class SectionTable
}
}
public ArrayList getSections()
{
return _sections;
}
public void writeTo(HWPFFileSystem sys, int fcMin)
throws IOException
{