| Package | Description |
|---|---|
| io.starter.formats.XLS | |
| io.starter.formats.XLS.formulas | |
| io.starter.OpenXLS |
The OpenXLS package contains the primary classes for working with spreadsheets.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Formula.calculateFormula()
Calculates the formula honoring calculation mode.
|
Object |
Name.getCalculatedValue()
return the calculated value of this Name
if it contains a parsed Expression (Formula)
|
void |
Name.setLocation(String newloc,
boolean clearAffectedCells)
Set the location for the first ptg in the expression
|
| Modifier and Type | Method and Description |
|---|---|
protected static Ptg |
FinancialCalculator.calcAccrint(Ptg[] operands)
ACCRINT - Returns the accrued interest for a security that pays periodic
interest Analysis Pak function Issue is the security's issue date.
|
protected static Ptg |
InformationCalculator.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 |
StatisticalCalculator.calcCountif(Ptg[] operands)
COUNTIF
Counts the number of non-blank cells within a range which meet the given criteria
BRUTAL!!
|
protected static Ptg |
EngineeringCalculator.calcErf(Ptg[] operands)
ERF
Returns the error function integrated between lower_limit and upper_limit.
|
protected static Ptg |
LookupReferenceCalculator.calcHlookup(Ptg[] operands)
HLOOKUP: Looks in the top row of an array and returns the value of the
indicated cell.
|
protected static Ptg |
FinancialCalculator.calcODDFPRICE(Ptg[] operands)
ODDFPRICE Returns the price per $100 face value of a security with an odd
first period
ODDFPRICE(settlement,maturity,issue,first_coupon,rate,yld,redemption,frequency,basis)
|
protected static Ptg |
FinancialCalculator.calcODDFYIELD(Ptg[] operands) |
protected static Ptg |
FinancialCalculator.calcODDLPRICE(Ptg[] operands) |
protected static Ptg |
FinancialCalculator.calcODDLYIELD(Ptg[] operands) |
protected static Ptg |
LookupReferenceCalculator.calcRow(Ptg[] operands)
ROW
Returns the row number of a reference
Note this is 1 based, ie Row1 = 1.
|
protected static Ptg |
LookupReferenceCalculator.calcRows(Ptg[] operands)
ROWS
Returns the number of rows in a reference
ROWS(array)
Array is an array, an array formula, or a reference to a range of cells for which you want the number of rows.
|
static Object |
FormulaCalculator.calculateFormula(Stack expression)
Calculates the value of calcStac This is handled by
running through the stack, adding operands to tempstack until
an operator PTG is found.
|
static Ptg |
FormulaCalculator.calculateFormulaPtg(Stack expression)
Calculates the final Ptg result of calcStack.
|
static Ptg |
FunctionHandler.calculateFunction(Ptg[] ptgs) |
Ptg |
PtgFuncVar.calculatePtg(Ptg[] pthings) |
Ptg |
GenericPtg.calculatePtg(Ptg[] parsething)
return a Ptg consisting of the calculated values
of the ptg's passed in.
|
Ptg |
Ptg.calculatePtg(Ptg[] parsething)
return a Ptg consisting of the calculated values
of the ptg's passed in.
|
Ptg |
PtgFunc.calculatePtg(Ptg[] pthings) |
Ptg |
PtgAtr.calculatePtg(Ptg[] pthing) |
static Ptg |
FunctionHandler.calculatePtgFunc(Ptg funk,
int funkId,
Ptg[] operands) |
static Ptg |
FunctionHandler.calculatePtgFuncVar(Ptg funk,
int funkId,
Ptg[] operands)
Keep the calculation of ptgfunc & ptgfuncvar seperate in case any differences show up
|
protected static Ptg |
LookupReferenceCalculator.calcVlookup(Ptg[] operands)
VLOOKUP
Looks in the first column of an array and moves across the row to return the value of a cell
Searches for a value in the leftmost column of a table, and then returns a value in the same row
from a column you specify in the table.
|
static Ptg |
FunctionHandler.parse_n_calc(Ptg function,
int functionId,
Ptg[] operands)
*
Your standard big case statement, calling methods based on what the funkid is.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
FormulaHandle.calculate()
Calculate the value of the formula and return it as an object
Calling calculate will ignore the WorkBook formula calculation flags
and forces calculation of the entire formula stack
|
void |
WorkBook.calculateFormulas()
Iterate through the formulas in this WorkBook and call the
calculate method on each.
|
Object |
NameHandle.getCalculatedValue()
return the calculated value of this Name
if it contains a parsed Expression (Formula)
|
double |
FormulaHandle.getDoubleVal()
If the Formula evaluates to a double, return
the value as an double.
|
float |
FormulaHandle.getFloatVal()
If the Formula evaluates to a float, return
the value as an float.
|
int |
FormulaHandle.getIntVal()
If the Formula evaluates to an int, return
the value as an int.
|
String |
FormulaHandle.getStringVal()
If the Formula evaluates to a String, return
the value as a String.
|
Object |
FormulaHandle.getVal()
Return the value of the Formula
|
void |
CellHandle.setFormula(String formStr)
Set a cell to Excel-compatible formula passed in as String.
|
void |
FormulaHandle.setFormula(String formulaString)
Sets the formula to a string passed in excel formula format.
|
Copyright © 2002–2019 Starter Inc.. All rights reserved.