Methods Summary |
---|
protected void | fillFields(org.apache.poi.hssf.record.RecordInputStream in)
field_1_count = in.readShort();
|
public short | getCount()get the number of built-in functions
return field_1_count;
|
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 ) 0x02)); // 2 bytes (6 total)
LittleEndian.putShort(data, 4 + offset, getCount());
return getRecordSize();
|
public void | setCount(short count)set the number of built-in functions
field_1_count = count;
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer();
buffer.append("[FNGROUPCOUNT]\n");
buffer.append(" .count = ").append(getCount())
.append("\n");
buffer.append("[/FNGROUPCOUNT]\n");
return buffer.toString();
|
protected void | validateSid(short id)
if (id != sid)
{
throw new RecordFormatException("NOT A FNGROUPCOUNT RECORD");
}
|