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

java.lang.Object
  |
  +--org.apache.poi.hssf.record.formula.Ptg
        |
        +--org.apache.poi.hssf.record.formula.ValueVariableFunctionPtg
All Implemented Interfaces:
OperationPtg

public class ValueVariableFunctionPtg
extends Ptg
implements OperationPtg

An excel function with variable number of value arguments.

Author:
andy

Field Summary
static short sid
           
 
Fields inherited from interface org.apache.poi.hssf.record.formula.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
 
Constructor Summary
ValueVariableFunctionPtg()
          Creates new ValueVariableFunctionPtg
ValueVariableFunctionPtg(byte[] data, int offset)
           
 
Method Summary
 short getNumArgs()
           
 int getNumberOfOperands()
           
 int getSize()
           
 int getType()
           
 java.lang.String toFormulaString()
           
 java.lang.String toFormulaString(Ptg[] operands)
           
 void writeBytes(byte[] array, int offset)
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
createPtg, getBytes, getPrecedence, getStringLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sid

public static final short sid
Constructor Detail

ValueVariableFunctionPtg

public ValueVariableFunctionPtg()
Creates new ValueVariableFunctionPtg

ValueVariableFunctionPtg

public ValueVariableFunctionPtg(byte[] data,
                                int offset)
Method Detail

writeBytes

public void writeBytes(byte[] array,
                       int offset)
Overrides:
writeBytes in class Ptg

getSize

public int getSize()
Overrides:
getSize in class Ptg

getNumArgs

public short getNumArgs()

getNumberOfOperands

public int getNumberOfOperands()
Specified by:
getNumberOfOperands in interface OperationPtg

getType

public int getType()
Specified by:
getType in interface OperationPtg

toFormulaString

public java.lang.String toFormulaString()
Overrides:
toFormulaString in class Ptg

toFormulaString

public java.lang.String toFormulaString(Ptg[] operands)
Specified by:
toFormulaString in interface OperationPtg


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