public class FormulaEngineEx extends FormulaEngineImpl implements FormulaEngine
FormulaEngineImpl.ErrorFormulaExpressionImpl, FormulaEngineImpl.EvalContext, FormulaEngineImpl.EvaluationResultImpl, FormulaEngineImpl.FormulaAdjuster, FormulaEngineImpl.FormulaExpressionImpl
KEY_EVALUATORS, noCacheClassifier
KEY_EXTERNAL_BOOK_NAMES, KEY_FORMULA_CACHE, KEY_SHEET_INDEXES
Constructor and Description |
---|
FormulaEngineEx() |
clearCache, clearColumnCache, convertToEvaluationResult, evaluate, evaluateFormula, evaluateFormulaExpression, evaluateFormulaExpression, extend, getMoveAdjuster, getRenameNameAdjuster, getRenameSheetAdjuster, getReorderSheetAdjuster, getResolvedValue, getShiftAdjuster, getTransposeAdjuster, move, parse, renameName, renameName, renameSheet, reorderSheetPtgs, shift, shouldNormalize, shrink, toDependRef, transpose, updateDependencyTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearCache, clearColumnCache, evaluate, extend, move, parse, renameName, renameName, renameSheet, reorderSheetPtgs, shift, shrink, transpose, updateDependencyTable
protected Object getXelContext()
getXelContext
in class FormulaEngineImpl
protected void setXelContext(Object ctx)
setXelContext
in class FormulaEngineImpl
protected String renderFormula(ParsingBook parsingBook, String formula, Ptg[] tokens, boolean always)
renderFormula
in class FormulaEngineImpl
public Ptg[] parse(String formula, FormulaParsingWorkbook book, int sheetIndex, FormulaParseContext context)
parse
in class FormulaEngineImpl
public FormulaExpression movePtgs(FormulaExpression fe, SheetRegion region, int rowOffset, int columnOffset, FormulaParseContext context)
FormulaEngine
movePtgs
in interface FormulaEngine
movePtgs
in class FormulaEngineImpl
public FormulaExpression shrinkPtgs(FormulaExpression fe, SheetRegion srcRegion, boolean horizontal, FormulaParseContext context)
FormulaEngine
FormulaExpression
for cells deletionshrinkPtgs
in interface FormulaEngine
shrinkPtgs
in class FormulaEngineImpl
public FormulaExpression extendPtgs(FormulaExpression fe, SheetRegion srcRegion, boolean horizontal, FormulaParseContext context)
FormulaEngine
FormulaExpression
for cells insertionextendPtgs
in interface FormulaEngine
extendPtgs
in class FormulaEngineImpl
public FormulaExpression shiftPtgs(FormulaExpression fe, int rowOffset, int columnOffset, FormulaParseContext context)
FormulaEngine
shiftPtgs
in interface FormulaEngine
shiftPtgs
in class FormulaEngineImpl
public FormulaExpression transposePtgs(FormulaExpression fe, int rowOrigin, int columnOrigin, FormulaParseContext context)
FormulaEngine
transposePtgs
in interface FormulaEngine
transposePtgs
in class FormulaEngineImpl
public FormulaExpression renameSheetPtgs(FormulaExpression fe, SBook targetBook, String oldSheetName, String newSheetName, FormulaParseContext context)
renameSheetPtgs
in interface FormulaEngine
renameSheetPtgs
in class FormulaEngineImpl
public FormulaExpression renameNamePtgs(FormulaExpression fe, SBook targetBook, int sheetIndex, String oldName, String newName, FormulaParseContext context)
renameNamePtgs
in interface FormulaEngine
renameNamePtgs
in class FormulaEngineImpl
protected ValueEval evaluateFormulaExpression(WorkbookEvaluator evaluator, int sheetIndex, FormulaExpression expr, boolean ignoreDereference, Ref ref)
evaluateFormulaExpression
in class FormulaEngineImpl
public FormulaExpression renameTableNameTablePtgs(FormulaExpression fe, SBook book, String oldName, String newName, FormulaParseContext context)
renameTableNameTablePtgs
in interface FormulaEngine
renameTableNameTablePtgs
in class FormulaEngineImpl
protected FormulaEngineImpl.FormulaAdjuster getRenameTableAdjuster(String oldName, String newName)
public FormulaExpression renameColumnNameTablePtgs(FormulaExpression fe, STable table, String oldName, String newName, FormulaParseContext context)
renameColumnNameTablePtgs
in interface FormulaEngine
renameColumnNameTablePtgs
in class FormulaEngineImpl
protected FormulaEngineImpl.FormulaAdjuster getRenameColumnAdjuster(String tableName, String oldName, String newName)
Copyright © 2020. All rights reserved.