public class InformationCalculator extends Object
| Constructor and Description |
|---|
InformationCalculator() |
| Modifier and Type | Method and Description |
|---|---|
protected static Ptg |
calcCell(Ptg[] operands)
CELL
Returns information about the formatting, location, or contents of a cell
The CELL function returns information about the formatting, location, or contents of a cell.
|
protected static Ptg |
calcErrorType(Ptg[] operands)
ERROR.TYPE
Returns a number corresponding to an error type
If error_val is
ERROR.TYPE returns
#NULL! 1
#DIV/0! 2
#VALUE! 3
#REF! 4
#NAME? 5
#NUM! 6
#N/A 7
Anything else #N/A
|
protected static Ptg |
calcInfo(Ptg[] operands)
INFO
Returns information about the current operating environment
INFO(type_text)
NOTE: Several options are incomplete:
"osversion" -- only valid for Windows versions
"system" -- only valid for Windows and Mac
"release" -- incomplete
"origin" -- does not return R1C1 format
|
protected static Ptg |
calcIsBlank(Ptg[] operands)
ISBLANK
ISBLANK determines if the cell referenced is blank, and returns
a boolean ptg based off that
|
protected static Ptg |
calcIserr(Ptg[] operands)
ISERR
Returns TRUE if the value is any error value except #N/A
|
protected static Ptg |
calcIserror(Ptg[] operands)
ISERROR
Value refers to any error value
(#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!).
|
protected static Ptg |
calcIsEven(Ptg[] operands)
ISEVEN(number)
Number is the value to test.
|
protected static Ptg |
calcIsLogical(Ptg[] operands)
ISLOGICAL
Returns TRUE if the value is a logical value
|
protected static Ptg |
calcIsna(Ptg[] operands)
ISNA
Value refers to the #N/A
(value not available) error value.
|
protected static Ptg |
calcIsNonText(Ptg[] operands)
ISNONTEXT
Returns TRUE if the value is not text
|
protected static Ptg |
calcIsNumber(Ptg[] operands)
ISNUMBER
Returns TRUE if the value is a number
|
protected static Ptg |
calcIsOdd(Ptg[] operands)
ISODD
Returns TRUE if the number is odd
author: John
|
protected static Ptg |
calcIsRef(Ptg[] operands)
ISREF
Returns TRUE if the value is a reference
|
protected static Ptg |
calcIsText(Ptg[] operands)
ISTEXT
Returns TRUE if the value is text
|
protected static Ptg |
calcN(Ptg[] operands)
N
Returns a value converted to a number.
|
protected static Ptg |
calcNa(Ptg[] operands)
NA
Returns the error value #N/A
|
protected static Ptg |
calcType(Ptg[] operands)
TYPE
Returns a number indicating the data type of a value
Value can be any Microsoft Excel value, such as a number, text, logical value, and so on.
|
protected static Ptg calcCell(Ptg[] operands) throws FunctionNotSupportedException
FunctionNotSupportedExceptionprotected static Ptg calcErrorType(Ptg[] operands)
protected static Ptg calcInfo(Ptg[] operands)
protected static Ptg calcIsBlank(Ptg[] operands)
protected static Ptg calcIserror(Ptg[] operands)
protected static Ptg calcIserr(Ptg[] operands)
protected static Ptg calcIsEven(Ptg[] operands)
protected static Ptg calcIsLogical(Ptg[] operands)
protected static Ptg calcIsNumber(Ptg[] operands)
protected static Ptg calcIsNonText(Ptg[] operands)
protected static Ptg calcIsna(Ptg[] operands)
protected static Ptg calcIsOdd(Ptg[] operands)
protected static Ptg calcIsRef(Ptg[] operands)
protected static Ptg calcN(Ptg[] operands)
Copyright © 2002–2019 Starter Inc.. All rights reserved.