Note that Excel is a bit picky about the arguments to this function,
when serialised into Ptgs in a HSSF file. While most cases are
pretty chilled about the R vs V state of RefPtg arguments,
for IF special care is needed to avoid Excel showing #VALUE.
See bug numbers #55324 and #55747 for the full details on this.
TODO Fix this...
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueEval | evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1)
Implements org. |
| public ValueEval | evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1, ValueEval arg2)
Implements org. |
| public ValueEval | evaluateArray(ValueEval[]
the evaluated function arguments. Empty values are represented with
args, int BlankEval or MissingArgEval, never null.row index of the cell containing the formula under evaluation srcRowIndex, int column index of the cell containing the formula under evaluation srcColumnIndex)Implements org.
|
| pack-priv ValueEval | evaluateArrayArgs(ValueEval arg0, ValueEval arg1, ValueEval arg2, int srcRowIndex, int srcColumnIndex)
|
| public static boolean |
| IfFunc | back to summary |
|---|---|
| public IfFunc() | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) Implements org. Doc from org. see
| |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1, ValueEval arg2) Implements org. Doc from org. see
| |
| evaluateArray | back to summary |
|---|---|
| public ValueEval evaluateArray(ValueEval[] args, int srcRowIndex, int srcColumnIndex) Implements org.
| |
| evaluateArrayArgs | back to summary |
|---|---|
| pack-priv ValueEval evaluateArrayArgs(ValueEval arg0, ValueEval arg1, ValueEval arg2, int srcRowIndex, int srcColumnIndex) | |
| evaluateFirstArg | back to summary |
|---|---|
| public static boolean evaluateFirstArg(ValueEval arg, int srcCellRow, int srcCellCol) throws EvaluationException | |