Package loci.poi.hssf.record.formula
Class MemFuncPtg
- java.lang.Object
-
- loci.poi.hssf.record.formula.Ptg
-
- loci.poi.hssf.record.formula.ControlPtg
-
- loci.poi.hssf.record.formula.MemFuncPtg
-
public class MemFuncPtg extends ControlPtg
- Author:
- Glen Stampoultzis (glens at apache.org)
-
-
Field Summary
Fields Modifier and Type Field Description static byte
sid
-
Fields inherited from class loci.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
-
-
Constructor Summary
Constructors Constructor Description MemFuncPtg()
MemFuncPtg(RecordInputStream in)
Creates new function pointer from a byte array usually called while reading an excel file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
byte
getDefaultOperandClass()
int
getLenRefSubexpression()
int
getNumberOfOperands()
int
getSize()
void
setLenRefSubexpression(int len)
String
toFormulaString(Workbook book)
return a string representation of this token alonevoid
writeBytes(byte[] array, int offset)
write this Ptg to a byte array-
Methods inherited from class loci.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString, toString
-
-
-
-
Field Detail
-
sid
public static final byte sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MemFuncPtg
public MemFuncPtg()
-
MemFuncPtg
public MemFuncPtg(RecordInputStream in)
Creates new function pointer from a byte array usually called while reading an excel file.
-
-
Method Detail
-
writeBytes
public void writeBytes(byte[] array, int offset)
Description copied from class:Ptg
write this Ptg to a byte array- Specified by:
writeBytes
in classPtg
-
toFormulaString
public String toFormulaString(Workbook book)
Description copied from class:Ptg
return a string representation of this token alone- Specified by:
toFormulaString
in classPtg
-
getDefaultOperandClass
public byte getDefaultOperandClass()
- Specified by:
getDefaultOperandClass
in classPtg
-
getNumberOfOperands
public int getNumberOfOperands()
-
getLenRefSubexpression
public int getLenRefSubexpression()
-
setLenRefSubexpression
public void setLenRefSubexpression(int len)
-
-