|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ValueEval | |
---|---|
org.apache.poi.hssf.record.formula.eval | |
org.apache.poi.hssf.record.formula.functions | |
org.apache.poi.hssf.usermodel | usermodel package maps HSSF low level strutures to familiar workbook/sheet model |
Uses of ValueEval in org.apache.poi.hssf.record.formula.eval |
---|
Subinterfaces of ValueEval in org.apache.poi.hssf.record.formula.eval | |
---|---|
interface |
AreaEval
|
interface |
NumericValueEval
|
interface |
RefEval
|
interface |
StringValueEval
|
Classes in org.apache.poi.hssf.record.formula.eval that implement ValueEval | |
---|---|
class |
Area2DEval
|
class |
Area3DEval
|
class |
BlankEval
|
class |
BoolEval
|
class |
ErrorEval
|
class |
NumberEval
|
class |
Ref2DEval
|
class |
Ref3DEval
|
class |
StringEval
|
Methods in org.apache.poi.hssf.record.formula.eval that return ValueEval | |
---|---|
ValueEval |
ValueEvalToNumericXlator.attemptXlateToNumeric(ValueEval eval)
returned value can be either A NumericValueEval, BlankEval or ErrorEval. |
static ValueEval |
OperandResolver.chooseSingleElementFromArea(AreaEval ae,
int srcCellRow,
short srcCellCol)
Implements (some perhaps not well known) Excel functionality to select a single cell from an area depending on the coordinates of the calling cell. |
ValueEval |
RefEval.getInnerValueEval()
The (possibly evaluated) ValueEval contained in this RefEval. |
ValueEval |
Ref3DEval.getInnerValueEval()
|
ValueEval |
Ref2DEval.getInnerValueEval()
|
static ValueEval |
OperandResolver.getSingleValue(Eval arg,
int srcCellRow,
short srcCellCol)
Retrieves a single value from a variety of different argument types according to standard Excel rules. |
ValueEval |
AreaEval.getValueAt(int row,
int col)
returns the ValueEval from the values array at the specified row and col index. |
ValueEval[] |
AreaEval.getValues()
The array of values in this area. |
protected ValueEval |
StringOperationEval.singleOperandEvaluate(Eval eval,
int srcRow,
short srcCol)
Returns an instanceof StringValueEval or ErrorEval or BlankEval |
protected ValueEval |
NumericOperationEval.singleOperandEvaluate(Eval eval,
int srcRow,
short srcCol)
|
Methods in org.apache.poi.hssf.record.formula.eval with parameters of type ValueEval | |
---|---|
ValueEval |
ValueEvalToNumericXlator.attemptXlateToNumeric(ValueEval eval)
returned value can be either A NumericValueEval, BlankEval or ErrorEval. |
static double |
OperandResolver.coerceValueToDouble(ValueEval ev)
Applies some conversion rules if the supplied value is not already a number. |
static int |
OperandResolver.coerceValueToInt(ValueEval ev)
Applies some conversion rules if the supplied value is not already an integer. Value is first coerced to a double ( See coerceValueToDouble() ). Excel typically converts doubles to integers by truncating toward negative infinity. The equivalent java code is: return (int)Math.floor(d); not: return (int)d; // wrong - rounds toward zero |
static java.lang.String |
OperandResolver.coerceValueToString(ValueEval ve)
|
Constructors in org.apache.poi.hssf.record.formula.eval with parameters of type ValueEval | |
---|---|
Area2DEval(Ptg ptg,
ValueEval[] values)
|
|
Area3DEval(Ptg ptg,
ValueEval[] values)
|
|
Ref2DEval(RefPtg ptg,
ValueEval ve)
|
|
Ref3DEval(Ref3DPtg ptg,
ValueEval ve)
|
Uses of ValueEval in org.apache.poi.hssf.record.formula.functions |
---|
Methods in org.apache.poi.hssf.record.formula.functions that return ValueEval | |
---|---|
protected ValueEval |
TextFunction.attemptXlateToText(ValueEval ve)
converts from Different ValueEval types to StringEval. |
ValueEval |
Offset.evaluate(Eval[] args,
int srcCellRow,
short srcCellCol,
HSSFWorkbook workbook,
HSSFSheet sheet)
|
ValueEval |
Indirect.evaluate(Eval[] args,
int srcCellRow,
short srcCellCol,
HSSFWorkbook workbook,
HSSFSheet sheet)
|
ValueEval |
FreeRefFunction.evaluate(Eval[] args,
int srcCellRow,
short srcCellCol,
HSSFWorkbook workbook,
HSSFSheet sheet)
|
protected ValueEval |
Not.singleOperandEvaluate(Eval ve)
|
protected ValueEval |
TextFunction.singleOperandEvaluate(Eval eval,
int srcRow,
short srcCol)
|
protected ValueEval |
NumericFunction.singleOperandEvaluate(Eval eval,
int srcRow,
short srcCol)
|
protected ValueEval |
BooleanFunction.singleOperandEvaluate(Eval eval,
int srcRow,
short srcCol,
boolean stringsAreBlanks)
|
protected ValueEval |
FinanceFunction.singleOperandNumericAsBoolean(Eval eval,
int srcRow,
short srcCol)
|
protected ValueEval |
LogicalFunction.xlateRefEval(RefEval reval)
recursively evaluate any RefEvals |
Methods in org.apache.poi.hssf.record.formula.functions with parameters of type ValueEval | |
---|---|
protected ValueEval |
TextFunction.attemptXlateToText(ValueEval ve)
converts from Different ValueEval types to StringEval. |
Uses of ValueEval in org.apache.poi.hssf.usermodel |
---|
Methods in org.apache.poi.hssf.usermodel that return ValueEval | |
---|---|
protected static ValueEval |
HSSFFormulaEvaluator.getEvalForCell(HSSFCell cell,
HSSFRow row,
HSSFSheet sheet,
HSSFWorkbook workbook)
Given a cell, find its type and from that create an appropriate ValueEval impl instance and return that. |
Methods in org.apache.poi.hssf.usermodel with parameters of type ValueEval | |
---|---|
protected static HSSFFormulaEvaluator.CellValue |
HSSFFormulaEvaluator.getCellValueForEval(ValueEval eval)
Returns a CellValue wrapper around the supplied ValueEval instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |