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 bytestatic final OperationPtgSingle instance of this token for 'sum() taking a single argument'Fields inherited from class org.apache.poi.ss.formula.ptg.AbstractFunctionPtg
FUNCTION_NAME_IFFields inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYFields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionstatic FuncVarPtgCreate a function ptg from a string tokenised by the parserstatic FuncVarPtgCreates new function pointer from a byte array usually called while reading an excel file.intgetSize()voidwrite(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, toStringMethods 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:
getSizein classAbstractFunctionPtg- Returns:
- the encoded length of this Ptg, including the initial Ptg type identifier byte.
-