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
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
-
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 TypeMethodDescriptioncopy()static 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.bytegetSid()intgetSize()voidwrite(LittleEndianOutput out) Methods inherited from class org.apache.poi.ss.formula.ptg.AbstractFunctionPtg
getDefaultOperandClass, getFunctionIndex, getName, getNumberOfOperands, getParameterClass, isBaseToken, isBuiltInFunctionName, isExternalFunction, toFormulaString, toFormulaStringMethods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
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
-
getSid
public byte getSid() -
getSize
public int getSize()- Specified by:
getSizein classAbstractFunctionPtg- Returns:
- the encoded length of this Ptg, including the initial Ptg type identifier byte.
-
copy
-
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord- Overrides:
getGenericPropertiesin classAbstractFunctionPtg
-