public final class ErrPtg extends ScalarConstantPtg
Modifier and Type | Field and Description |
---|---|
static ErrPtg |
DIV_ZERO
#DIV/0! - Division by zero
|
static ErrPtg |
N_A
#N/A - Argument or function not available
|
static ErrPtg |
NAME_INVALID
#NAME? - Wrong function or range name
|
static ErrPtg |
NULL_INTERSECTION
#NULL! - Intersection of two cell ranges is empty
|
static ErrPtg |
NUM_ERROR
#NUM! - Value range overflow
|
static ErrPtg |
REF_INVALID
#REF! - Illegal or deleted cell reference
|
static short |
sid |
static ErrPtg |
VALUE_INVALID
#VALUE! - Wrong type of operand
|
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
int |
getSize() |
int |
getSize(SpreadsheetVersion version) |
static ErrPtg |
read(LittleEndianInput in) |
String |
toFormulaString()
return a string representation of this token alone
|
static ErrPtg |
valueOf(int code) |
void |
write(LittleEndianOutput out) |
void |
write(LittleEndianOutput out,
SpreadsheetVersion version) |
getDefaultOperandClass, isBaseToken, toString
clone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClass
public static final ErrPtg NULL_INTERSECTION
public static final ErrPtg DIV_ZERO
public static final ErrPtg VALUE_INVALID
public static final ErrPtg REF_INVALID
public static final ErrPtg NAME_INVALID
public static final ErrPtg NUM_ERROR
public static final ErrPtg N_A
public static final short sid
public static ErrPtg read(LittleEndianInput in)
public void write(LittleEndianOutput out)
public void write(LittleEndianOutput out, SpreadsheetVersion version)
public String toFormulaString()
Ptg
toFormulaString
in class Ptg
public int getSize()
public int getSize(SpreadsheetVersion version)
public int getErrorCode()
public static ErrPtg valueOf(int code)
Copyright © 2020. All rights reserved.