public final class ErrPtg extends ScalarConstantPtg
Modifier and Type | Field and Description |
---|---|
static ErrPtg |
DIV_ZERO
#DIV/0! - Division by zero
(#DIV/0! - 被零除)
|
static ErrPtg |
N_A
#N/A - Argument or function not available
(#N/A - 参数或函数不可用)
|
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
(#NUM! - 值范围溢出)
|
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 |
---|---|
ErrPtg |
copy() |
int |
getErrorCode() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
byte |
getSid() |
int |
getSize() |
static ErrPtg |
read(LittleEndianInput in) |
java.lang.String |
toFormulaString()
return a string representation of this token alone
(单独返回此标记的字符串表示)
|
static ErrPtg |
valueOf(int code) |
void |
write(LittleEndianOutput out) |
getDefaultOperandClass, isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
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 java.lang.String toFormulaString()
Ptg
toFormulaString
in class
Ptg
(Ptg 类中的 toFormulaString)
public byte getSid()
public int getSize()
public int getErrorCode()
public static ErrPtg valueOf(int code)
public ErrPtg copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
Ptg
(在 Ptg 类中复制)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.