org.apache.poi.hssf.record.formula
Class FuncVarPtg

java.lang.Object
  |
  +--org.apache.poi.hssf.record.formula.Ptg
        |
        +--org.apache.poi.hssf.record.formula.OperationPtg
              |
              +--org.apache.poi.hssf.record.formula.AbstractFunctionPtg
                    |
                    +--org.apache.poi.hssf.record.formula.FuncVarPtg

public class FuncVarPtg
extends AbstractFunctionPtg


Field Summary
static byte sid
           
 
Fields inherited from class org.apache.poi.hssf.record.formula.AbstractFunctionPtg
field_1_num_args, field_2_fnc_index, functionData, paramClass, returnClass
 
Fields inherited from class org.apache.poi.hssf.record.formula.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
 
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
 
Constructor Summary
  FuncVarPtg(byte[] data, int offset)
          Creates new function pointer from a byte array usually called while reading an excel file.
protected FuncVarPtg(java.lang.String pName, byte pNumOperands)
          Create a function ptg from a string tokenised by the parser
 
Method Summary
 int getNumberOfOperands()
          The number of operands expected by the operations
 void writeBytes(byte[] array, int offset)
          write this Ptg to a byte array
 
Methods inherited from class org.apache.poi.hssf.record.formula.AbstractFunctionPtg
getDefaultOperandClass, getFunctionIndex, getName, getParameterClass, getSize, getType, lookupIndex, toFormulaString, toFormulaString, toString
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
createPtg, getBytes, getPtgClass, setClass, toDebugString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sid

public static final byte sid
Constructor Detail

FuncVarPtg

public FuncVarPtg(byte[] data,
                  int offset)
Creates new function pointer from a byte array usually called while reading an excel file.

FuncVarPtg

protected FuncVarPtg(java.lang.String pName,
                     byte pNumOperands)
Create a function ptg from a string tokenised by the parser
Method Detail

writeBytes

public void writeBytes(byte[] array,
                       int offset)
Description copied from class: Ptg
write this Ptg to a byte array
Overrides:
writeBytes in class AbstractFunctionPtg

getNumberOfOperands

public int getNumberOfOperands()
Description copied from class: OperationPtg
The number of operands expected by the operations
Overrides:
getNumberOfOperands in class OperationPtg

jakarta-poi 1.7.0-dev

Copyright © 2002 Apache jakarta-poi project. All Rights Reserved.