Methods Summary |
---|
public java.lang.Object | clone()
PlotAreaRecord rec = new PlotAreaRecord();
return rec;
|
protected void | fillFields(org.apache.poi.hssf.record.RecordInputStream in)
|
public int | getRecordSize()Size of record (exluding 4 byte header)
return 4 ;
|
public short | getSid()
return sid;
|
public int | serialize(int offset, byte[] data)
LittleEndian.putShort(data, 0 + offset, sid);
LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4));
return getRecordSize();
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer();
buffer.append("[PLOTAREA]\n");
buffer.append("[/PLOTAREA]\n");
return buffer.toString();
|
protected void | validateSid(short id)Checks the sid matches the expected side for this record
if (id != sid)
{
throw new RecordFormatException("Not a PlotArea record");
}
|