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 09a36305a1
commit 3cea6fc818
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
{