Methods Summary |
---|
protected void | fillFields(org.apache.poi.hssf.record.RecordInputStream in)
field_1_refreshall = in.readShort();
|
public int | getRecordSize()
return 6;
|
public boolean | getRefreshAll()get whether to refresh all external data when loading a sheet
return (field_1_refreshall == 1);
|
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_refreshall);
return getRecordSize();
|
public void | setRefreshAll(boolean refreshall)set whether to refresh all external data when loading a sheet
if (refreshall)
{
field_1_refreshall = 1;
}
else
{
field_1_refreshall = 0;
}
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer();
buffer.append("[REFRESHALL]\n");
buffer.append(" .refreshall = ").append(getRefreshAll())
.append("\n");
buffer.append("[/REFRESHALL]\n");
return buffer.toString();
|
protected void | validateSid(short id)
if (id != sid)
{
throw new RecordFormatException("NOT A REFRESHALL RECORD");
}
|