Methods Summary |
---|
protected void | fillFields(org.apache.poi.hssf.record.RecordInputStream in)
field_1_save_link_values = in.readShort();
|
public int | getRecordSize()
return 6;
|
public short | getSaveLinkValues()get the save ext links flag
return field_1_save_link_values;
|
public short | getSid()
return sid;
|
public int | serialize(int offset, byte[] data)
LittleEndian.putShort(data, 0 + offset, sid);
LittleEndian.putShort(data, 2 + offset,
(( short ) 0x02)); // 2 bytes (6 total)
LittleEndian.putShort(data, 4 + offset, field_1_save_link_values);
return getRecordSize();
|
public void | setSaveLinkValues(short flag)set the save ext links flag
field_1_save_link_values = flag;
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer();
buffer.append("[BOOKBOOL]\n");
buffer.append(" .savelinkvalues = ")
.append(Integer.toHexString(getSaveLinkValues())).append("\n");
buffer.append("[/BOOKBOOL]\n");
return buffer.toString();
|
protected void | validateSid(short id)
if (id != sid)
{
throw new RecordFormatException("NOT A BOOKBOOL RECORD");
}
|