Methods Summary |
---|
public java.lang.Object | clone()
SaveRecalcRecord rec = new SaveRecalcRecord();
rec.field_1_recalc = field_1_recalc;
return rec;
|
protected void | fillFields(org.apache.poi.hssf.record.RecordInputStream in)
field_1_recalc = in.readShort();
|
public boolean | getRecalc()get whether to recalculate formulas/etc before saving or not
return (field_1_recalc == 1);
|
public int | getRecordSize()
return 6;
|
public short | getSid()
return sid;
|
public int | serialize(int offset, byte[] data)
LittleEndian.putShort(data, 0 + offset, sid);
LittleEndian.putShort(data, 2 + offset, ( short ) 0x2);
LittleEndian.putShort(data, 4 + offset, field_1_recalc);
return getRecordSize();
|
public void | setRecalc(boolean recalc)set whether to recalculate formulas/etc before saving or not
field_1_recalc = ( short ) ((recalc == true) ? 1
: 0);
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer();
buffer.append("[SAVERECALC]\n");
buffer.append(" .recalc = ").append(getRecalc())
.append("\n");
buffer.append("[/SAVERECALC]\n");
return buffer.toString();
|
protected void | validateSid(short id)
if (id != sid)
{
throw new RecordFormatException("NOT A Save Recalc RECORD");
}
|