Methods Summary |
---|
public java.lang.Object | clone()
ExpPtg result = new ExpPtg();
result.field_1_first_row = field_1_first_row;
result.field_2_first_col = field_2_first_col;
return result;
|
public short | getColumn()
return field_2_first_col;
|
public byte | getDefaultOperandClass()return Ptg.CLASS_VALUE;
|
public short | getRow()
return field_1_first_row;
|
public int | getSize()
return SIZE;
|
public java.lang.String | toFormulaString(org.apache.poi.hssf.model.Workbook book)
throw new RecordFormatException("Coding Error: Expected ExpPtg to be converted from Shared to Non-Shared Formula");
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer("[Array Formula or Shared Formula]\n");
buffer.append("row = ").append(getRow()).append("\n");
buffer.append("col = ").append(getColumn()).append("\n");
return buffer.toString();
|
public void | writeBytes(byte[] array, int offset)
array[offset+0]= (byte) (sid);
LittleEndian.putShort(array,offset+1,field_1_first_row);
LittleEndian.putShort(array,offset+3,field_2_first_col);
|