FileDocCategorySizeDatePackage
MemFuncPtg.javaAPI DocApache Poi 3.0.12577Mon Jan 01 12:39:40 GMT 2007org.apache.poi.hssf.record.formula

MemFuncPtg

public class MemFuncPtg extends ControlPtg
author
Glen Stampoultzis (glens at apache.org)

Fields Summary
public static final byte
sid
private short
field_1_len_ref_subexpression
Constructors Summary
public MemFuncPtg()


     
    
        //Required for clone methods
    
public MemFuncPtg(RecordInputStream in)
Creates new function pointer from a byte array usually called while reading an excel file.

        field_1_len_ref_subexpression = in.readShort();
    
Methods Summary
public java.lang.Objectclone()

        MemFuncPtg ptg = new MemFuncPtg();
        ptg.field_1_len_ref_subexpression = this.field_1_len_ref_subexpression;
        return ptg;
    
public bytegetDefaultOperandClass()

        return 0;
    
public intgetLenRefSubexpression()

        return field_1_len_ref_subexpression;
    
public intgetNumberOfOperands()

        return field_1_len_ref_subexpression;
    
public intgetSize()

        return 3;
    
public voidsetLenRefSubexpression(int len)

        field_1_len_ref_subexpression = (short)len;
    
public java.lang.StringtoFormulaString(org.apache.poi.hssf.model.Workbook book)

        return "";
    
public voidwriteBytes(byte[] array, int offset)

        array[offset + 0] =  sid ;
        LittleEndian.putShort( array, offset + 1, (short)field_1_len_ref_subexpression );