Package org.apache.poi.ss.formula.ptg
Class FuncVarPtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperationPtg
org.apache.poi.ss.formula.ptg.AbstractFunctionPtg
org.apache.poi.ss.formula.ptg.FuncVarPtg
- Author:
- Jason Height (jheight at chariot dot net dot au)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte
static final OperationPtg
Single instance of this token for 'sum() taking a single argument'Fields inherited from class org.apache.poi.ss.formula.ptg.AbstractFunctionPtg
FUNCTION_NAME_IF
Fields inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionstatic FuncVarPtg
Create a function ptg from a string tokenised by the parserstatic FuncVarPtg
Creates new function pointer from a byte array usually called while reading an excel file.int
getSize()
void
write
(LittleEndianOutput out) Methods inherited from class org.apache.poi.ss.formula.ptg.AbstractFunctionPtg
getDefaultOperandClass, getFunctionIndex, getName, getNumberOfOperands, getParameterClass, isBaseToken, isBuiltInFunctionName, isExternalFunction, lookupIndex, lookupName, toFormulaString, toFormulaString, toString
Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
-
Field Details
-
sid
public static final byte sid- See Also:
-
SUM
Single instance of this token for 'sum() taking a single argument'
-
-
Method Details
-
create
Creates new function pointer from a byte array usually called while reading an excel file. -
create
Create a function ptg from a string tokenised by the parser -
write
-
getSize
public int getSize()- Specified by:
getSize
in classAbstractFunctionPtg
- Returns:
- the encoded length of this Ptg, including the initial Ptg type identifier byte.
-