Methods Summary |
---|
public java.lang.Object | clone()
RefErrorPtg ptg = new RefErrorPtg();
ptg.field_1_reserved = field_1_reserved;
ptg.setClass(ptgClass);
return ptg;
|
public byte | getDefaultOperandClass()
return Ptg.CLASS_REF;
|
public int | getReserved()
return field_1_reserved;
|
public int | getSize()
return SIZE;
|
public void | setReserved(int reserved)
field_1_reserved = reserved;
|
public java.lang.String | toFormulaString(org.apache.poi.hssf.model.Workbook book)
//TODO -- should we store a cellreference instance in this ptg?? but .. memory is an issue, i believe!
return "#REF!";
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer("[RefError]\n");
buffer.append("reserved = ").append(getReserved()).append("\n");
return buffer.toString();
|
public void | writeBytes(byte[] array, int offset)
array[offset] = (byte) (sid + ptgClass);
LittleEndian.putInt(array,offset+1,field_1_reserved);
|