StringRecords are inValueSection.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Height 2003-09-18 05:21:33 +00:00
parent f45313717f
commit b4ee3b8498

View File

@ -165,6 +165,12 @@ public class StringRecord
return (field_2_unicode_flag == 1); return (field_2_unicode_flag == 1);
} }
public boolean isInValueSection()
{
return true;
}
/** /**
* called by the class that is responsible for writing this sucker. * called by the class that is responsible for writing this sucker.
* Subclasses should implement this so that their data is passed back in a * Subclasses should implement this so that their data is passed back in a
@ -237,7 +243,7 @@ public class StringRecord
buffer.append("[/STRING]\n"); buffer.append("[/STRING]\n");
return buffer.toString(); return buffer.toString();
} }
public Object clone() { public Object clone() {
StringRecord rec = new StringRecord(); StringRecord rec = new StringRecord();
rec.field_1_string_length = this.field_1_string_length; rec.field_1_string_length = this.field_1_string_length;