| 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 |
|---|---|
protected Formula |
Shrfmla.getAffected(BiffRec br)
determine which formula in set of shared formula members is affected by cell br
|
Formula |
WorkBook.getFormula(String cellAddress) |
Formula |
Cf.getFormula1()
return the first formula referenced by the Conditional Format
|
Formula |
Cf.getFormula2()
return the second formula referenced by the Conditional Format
|
Formula |
BiffRec.getFormulaRec() |
Formula |
XLSRecord.getFormulaRec() |
Formula[] |
WorkBook.getFormulas()
returns the array of Formulas in the book
|
Formula |
Shrfmla.getHostCell()
Gets the formula record in which this record resides.
|
Formula |
Array.getParentRec()
return parent formula
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorkBook.addFormula(Formula rec)
add formula to book and init the ptgs
|
void |
WorkBook.addIndirectFormula(Formula f) |
void |
Shrfmla.addMember(Formula member)
Adds a member formula to this shared formula.
|
static Stack |
Shrfmla.convertStack(Stack in,
Formula f)
Converts an expression stack that uses relative PTGs to
a standard stack for calculation
|
Stack |
Shrfmla.instantiate(Formula parent)
convert expression using dimensions of specific member formula
|
void |
WorkBook.removeFormula(Formula fmla)
remove a formula from the book
|
void |
Shrfmla.removeMember(Formula member) |
void |
Shrfmla.setHostCell(Formula newHost)
Sets the formula record in which this record resides.
|
protected void |
WorkBook.setLastFormula(Formula f)
for those cases where a formula calculation adds a new string rec
need to explicitly set lastFormula before calling addRecord
|
void |
Array.setParentRec(Formula f)
link this shared formula to it's parent formula
|
| Modifier and Type | Method and Description |
|---|---|
static Formula |
FormulaParser.getFormulaFromString(String formStr,
Boundsheet st,
int[] rc)
create a new formula record at row column rc using formula string formStr
|
static Formula |
FormulaParser.setFormula(Formula form,
String fmla,
int[] rc)
parse a formula in string form and create a formula record from it
caluclate the new formula based on boolean setting calculate
|
static Formula |
FormulaParser.setFormulaString(String formStr,
int[] rc)
create a new formula record at row column rc using formula string formStr
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PtgRef.changeLocation(String newLoc,
Formula f) |
static String |
FormulaParser.getFormulaString(Formula form) |
static Formula |
FormulaParser.setFormula(Formula form,
String fmla,
int[] rc)
parse a formula in string form and create a formula record from it
caluclate the new formula based on boolean setting calculate
|
| Modifier and Type | Method and Description |
|---|---|
Formula |
ConditionalFormatRule.getFormula1() |
Formula |
ConditionalFormatRule.getFormula2() |
Formula |
FormulaHandle.getFormulaRec()
returns the low-level formula rec for this Formulahandle
|
| Constructor and Description |
|---|
FormulaHandle(Formula f,
WorkBook book)
Create a new FormulaHandle from an Excel Formula
|
Copyright © 2002–2019 Starter Inc.. All rights reserved.