Package org.apache.poi.ss.formula.ptg
Class ErrPtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.ScalarConstantPtg
org.apache.poi.ss.formula.ptg.ErrPtg
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ErrPtg#DIV/0! - Division by zerostatic final ErrPtg#N/A - Argument or function not availablestatic final ErrPtg#NAME? - Wrong function or range namestatic final ErrPtg#NULL! - Intersection of two cell ranges is emptystatic final ErrPtg#NUM! - Value range overflowstatic final ErrPtg#REF! - Illegal or deleted cell referencestatic final shortstatic final ErrPtg#VALUE! - Wrong type of operandFields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY -
Method Summary
Methods inherited from class org.apache.poi.ss.formula.ptg.ScalarConstantPtg
getDefaultOperandClass, isBaseTokenMethods 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
-
NULL_INTERSECTION
#NULL! - Intersection of two cell ranges is empty -
DIV_ZERO
#DIV/0! - Division by zero -
VALUE_INVALID
#VALUE! - Wrong type of operand -
REF_INVALID
#REF! - Illegal or deleted cell reference -
NAME_INVALID
#NAME? - Wrong function or range name -
NUM_ERROR
#NUM! - Value range overflow -
N_A
#N/A - Argument or function not available -
sid
public static final short sid- See Also:
-
-
Method Details
-
read
-
write
-
toFormulaString
Description copied from class:Ptgreturn a string representation of this token alone- Specified by:
toFormulaStringin classPtg
-
getSid
public byte getSid() -
getSize
public int getSize() -
getErrorCode
public int getErrorCode() -
valueOf
-
copy
-
getGenericProperties
-