ExternalNameRecord(Record t,
WorkbookSettings ws) {
super(t);
byte[] data = getRecord().getData();
int options = IntegerHelper.getInt(data[0], data[1]);
if (options == 0)
{
addInFunction = true;
}
if (!addInFunction)
{
return;
}
int length = data[6];
boolean unicode = (data[7] != 0);
if (unicode)
{
name = StringHelper.getUnicodeString(data, length, 8);
}
else
{
name = StringHelper.getString(data, length, 8, ws);
}
}
Constructs this object from the raw data Parameters:
t - the raw data
ws - the workbook settings
|