public class Area3DPtg extends Ptg
{
- public final static short sid = 0x3b;
+ public final static byte sid = 0x3b;
private final static int SIZE = 11; // 10 + 1 for Ptg
private short field_1_index_extern_sheet;
private short field_2_first_row;
public class AttrPtg
extends OperationPtg
{
- public final static short sid = 0x19;
+ public final static byte sid = 0x19;
private final static int SIZE = 4;
private byte field_1_options;
private short field_2_data;
public class FuncPtg extends AbstractFunctionPtg{
- public final static short sid = 0x21;
+ public final static byte sid = 0x21;
private int numParams=0;
/**Creates new function pointer from a byte array
* usually called while reading an excel file.
}
public void writeBytes(byte[] array, int offset) {
- array[offset+0]=(byte) (sid + ptgClass);
+ array[offset+0]= (byte) (sid + ptgClass);
//array[offset+1]=field_1_num_args;
LittleEndian.putShort(array,offset+1,field_2_fnc_index);
}
import org.apache.poi.util.LittleEndian;
public class FuncVarPtg extends AbstractFunctionPtg{
- public final static short sid = 0x22;
+ public final static byte sid = 0x22;
/**Creates new function pointer from a byte array
* usually called while reading an excel file.
*/
public class Ref3DPtg extends Ptg {
- public final static short sid = 0x3a;
+ public final static byte sid = 0x3a;
private final static int SIZE = 7; // 6 + 1 for Ptg
private short field_1_index_extern_sheet;
private short field_2_row;
extends TestCase
{
byte[] data = new byte[] {
- (short)0x3,(short)0x0,(short)0x4,(short)0x0
+ (byte)0x3,(byte)0x0,(byte)0x4,(byte)0x0
};
public TestSCLRecord(String name)