Property Getters/Setters Summary | ||
---|---|---|
method | getCalculatedValue() | |
method | setCalculatedValue(value) | |
Gets or sets the calculated value for this function. | ||
method | getCell() | |
Gets the Cell object where the function is in.
|
||
method | getCellColumn() | |
Gets the column index of the cell where the function is in.
|
||
method | getCellRow() | |
Gets the row index of the cell where the function is in.
|
||
method | getFunctionName() | |
Gets the function name to be calculated.
|
||
method | getParamCount() | |
Gets the count of parameters
|
||
method | getWorkbook() | |
Gets the Workbook object where the function is in.
|
||
method | getWorksheet() | |
Gets the Worksheet object where the function is in.
|
Method Summary | ||
---|---|---|
method | getParamText(index) | |
Gets the literal text of the parameter at given index.
|
||
method | getParamValue(index) | |
Gets the represented value object of the parameter at given index.
|
||
method | getParamValueInArrayMode(index, maxRowCount, maxColumnCount) | |
Gets the value(s) of the parameter at given index.
If the parameter is some kind of expression that needs to be calculated,
then it will be calculated in array mode.
|
Object getCalculatedValue() / setCalculatedValue(value)
Worksheet getWorksheet()
int getCellRow()
int getCellColumn()
Cell getCell()
String getFunctionName()
int getParamCount()
Object getParamValue(index)
If it is plain value, then returns the plain value itself;
If it is reference, then returns ReferredArea object;
If it references to dataset(s) with multiple values, then returns array of objects;
If it is some kind of expression that needs to be calculated, then it will be calculated in value mode
and generally a single value will be returned according to current cell base. For example,
if one parameter of D2's formula is A:A+B:B, then A2+B2 will be calculated and returned.
However, if this parameter has been specified as array mode
(by
index: int
- The index of the parameter(0 based)Object[][] getParamValueInArrayMode(index, maxRowCount, maxColumnCount)
index: int
- The index of the parameter(0 based)maxRowCount: int
- The row count limit for the returned array.
If it is non-positive or greater than the actual row count, then actual row count will be used.
maxColumnCount: int
- The column count limit for the returned array.
If it is non-positive or greater than the actual row count, then actual column count will be used.
String getParamText(index)
index: int
- index of the parameter(0 based)