|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.record.formula.Ptg
org.apache.poi.hssf.record.formula.ErrPtg
public final class ErrPtg
| Field Summary | |
|---|---|
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 |
| Fields inherited from class org.apache.poi.hssf.record.formula.Ptg |
|---|
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY |
| Method Summary | |
|---|---|
byte |
getDefaultOperandClass()
|
int |
getErrorCode()
|
int |
getSize()
|
boolean |
isBaseToken()
|
static ErrPtg |
read(RecordInputStream in)
|
java.lang.String |
toFormulaString()
return a string representation of this token alone |
java.lang.String |
toString()
Overridden toString method to ensure object hash is not printed. |
static ErrPtg |
valueOf(int code)
|
void |
writeBytes(byte[] array,
int offset)
write this Ptg to a byte array |
| Methods inherited from class org.apache.poi.hssf.record.formula.Ptg |
|---|
clone, copy, createPtg, getBytes, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toDebugString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Method Detail |
|---|
public static ErrPtg read(RecordInputStream in)
public void writeBytes(byte[] array,
int offset)
Ptg
writeBytes in class Ptgpublic java.lang.String toFormulaString()
Ptg
toFormulaString in class Ptgpublic int getSize()
getSize in class Ptgpublic int getErrorCode()
public static ErrPtg valueOf(int code)
public boolean isBaseToken()
isBaseToken in class Ptgfalse if this token is classified as 'reference', 'value', or 'array'public final byte getDefaultOperandClass()
getDefaultOperandClass in class Ptgpublic final java.lang.String toString()
Ptg
toString in class Ptg
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||