public interface FormulaEngine
Modifier and Type | Field and Description |
---|---|
static String |
KEY_EXTERNAL_BOOK_NAMES |
static String |
KEY_FORMULA_CACHE |
static String |
KEY_SHEET_INDEXES |
static final String KEY_EXTERNAL_BOOK_NAMES
static final String KEY_SHEET_INDEXES
static final String KEY_FORMULA_CACHE
FormulaExpression parse(String formula, FormulaParseContext context)
FormulaExpression shift(String formula, int rowOffset, int columnOffset, FormulaParseContext context)
formula
- rowOffset
- columnOffset
- context
- FormulaExpression transpose(String formula, int rowOrigin, int columnOrigin, FormulaParseContext context)
formula
- rowOrigin
- columnOrigin
- context
- FormulaExpression move(String formula, SheetRegion srcRegion, int rowOffset, int columnOffset, FormulaParseContext context)
formula
- srcRegion
- rowOffset
- columnOffset
- context
- FormulaExpression shrink(String formula, SheetRegion srcRegion, boolean hrizontal, FormulaParseContext context)
FormulaExpression extend(String formula, SheetRegion srcRegion, boolean hrizontal, FormulaParseContext context)
FormulaExpression renameSheet(String formula, SBook book, String oldName, String newName, FormulaParseContext context)
FormulaExpression renameName(String formula, SBook book, String oldName, String newName, FormulaParseContext context)
EvaluationResult evaluate(FormulaExpression expr, FormulaEvaluationContext context)
void clearCache(FormulaClearContext context)
void clearColumnCache(FormulaClearContext context, int start, int end)
FormulaExpression shiftPtgs(FormulaExpression fexpr, int rowOffset, int columnOffset, FormulaParseContext context)
formula
- rowOffset
- columnOffset
- context
- FormulaExpression transposePtgs(FormulaExpression fexpr, int rowOrigin, int columnOrigin, FormulaParseContext context)
formula
- rowOrigin
- columnOrigin
- context
- FormulaExpression movePtgs(FormulaExpression fexpr, SheetRegion srcRegion, int rowOffset, int columnOffset, FormulaParseContext context)
formula
- srcRegion
- rowOffset
- columnOffset
- context
- FormulaExpression shrinkPtgs(FormulaExpression fexpr, SheetRegion srcRegion, boolean hrizontal, FormulaParseContext context)
FormulaExpression
for cells deletionfexpr
- srcRegion
- hrizontal
- context
- FormulaExpression extendPtgs(FormulaExpression fexpr, SheetRegion srcRegion, boolean hrizontal, FormulaParseContext context)
FormulaExpression
for cells insertionfexpr
- srcRegion
- hrizontal
- context
- FormulaExpression renameSheetPtgs(FormulaExpression fexpr, SBook book, String oldName, String newName, FormulaParseContext context)
fexpr
- book
- oldName
- newName
- context
- FormulaExpression renameNamePtgs(FormulaExpression fexpr, SBook book, int sheetIndex, String oldName, String newName, FormulaParseContext context)
fexpr
- book
- oldName
- newName
- context
- FormulaExpression renameName(String formula, SBook book, int sheetIndex, String oldName, String newName, FormulaParseContext context)
formula
- book
- sheetIndex
- oldName
- newName
- context
- void updateDependencyTable(FormulaExpression fexpr, FormulaParseContext context)
fexpr
- context
- FormulaExpression reorderSheetPtgs(FormulaExpression fexpr, SBook book, int oldIndex, int newIndex, FormulaParseContext context)
fexpr
- book
- oldName
- newName
- context
- FormulaExpression renameTableNameTablePtgs(FormulaExpression fexpr, SBook book, String oldName, String newName, FormulaParseContext context)
fexpr
- oldName
- newName
- context
- FormulaExpression renameColumnNameTablePtgs(FormulaExpression fexpr, STable table, String oldName, String newName, FormulaParseContext context)
fexpr
- tableName
- oldName
- newName
- context
- Copyright © 2020. All rights reserved.