public class FormulaEngineEx extends FormulaEngineImpl implements FormulaEngine
FormulaEngineImpl.EvalContext, FormulaEngineImpl.EvaluationResultImpl, FormulaEngineImpl.FormulaAdjuster, FormulaEngineImpl.FormulaExpressionImpl
KEY_EVALUATORS, noCacheClassifier
KEY_EXTERNAL_BOOK_NAMES, KEY_SHEET_INDEXES
Constructor and Description |
---|
FormulaEngineEx() |
Modifier and Type | Method and Description |
---|---|
protected ValueEval |
evaluateFormulaExpression(WorkbookEvaluator evaluator,
int sheetIndex,
FormulaExpression expr,
boolean ignoreDereference,
Ref ref) |
FormulaExpression |
extendPtgs(FormulaExpression fe,
SheetRegion srcRegion,
boolean horizontal,
FormulaParseContext context) |
protected FormulaEngineImpl.FormulaAdjuster |
getRenameColumnAdjuster(java.lang.String tableName,
java.lang.String oldName,
java.lang.String newName) |
protected FormulaEngineImpl.FormulaAdjuster |
getRenameTableAdjuster(java.lang.String oldName,
java.lang.String newName) |
protected java.lang.Object |
getXelContext() |
FormulaExpression |
movePtgs(FormulaExpression fe,
SheetRegion region,
int rowOffset,
int columnOffset,
FormulaParseContext context)
Shift the formula that care on sheet and region.
|
protected Ptg[] |
parse(java.lang.String formula,
FormulaParsingWorkbook book,
int sheetIndex,
FormulaParseContext context) |
FormulaExpression |
renameColumnNameTablePtgs(FormulaExpression fe,
STable table,
java.lang.String oldName,
java.lang.String newName,
FormulaParseContext context) |
FormulaExpression |
renameNamePtgs(FormulaExpression fe,
SBook targetBook,
int sheetIndex,
java.lang.String oldName,
java.lang.String newName,
FormulaParseContext context) |
FormulaExpression |
renameSheetPtgs(FormulaExpression fe,
SBook targetBook,
java.lang.String oldSheetName,
java.lang.String newSheetName,
FormulaParseContext context) |
FormulaExpression |
renameTableNameTablePtgs(FormulaExpression fe,
SBook book,
java.lang.String oldName,
java.lang.String newName,
FormulaParseContext context) |
protected java.lang.String |
renderFormula(ParsingBook parsingBook,
java.lang.String formula,
Ptg[] tokens,
boolean always) |
protected void |
setXelContext(java.lang.Object ctx) |
FormulaExpression |
shiftPtgs(FormulaExpression fe,
int rowOffset,
int columnOffset,
FormulaParseContext context)
Shift the formula base on the offset
|
FormulaExpression |
shrinkPtgs(FormulaExpression fe,
SheetRegion srcRegion,
boolean horizontal,
FormulaParseContext context) |
FormulaExpression |
transposePtgs(FormulaExpression fe,
int rowOrigin,
int columnOrigin,
FormulaParseContext context)
Transpose the formula base one the origin
|
clearCache, convertToEvaluationResult, evaluate, evaluateFormula, extend, getMoveAdjuster, getRenameNameAdjuster, getRenameSheetAdjuster, getReorderSheetAdjuster, getResolvedValue, getShiftAdjuster, getTransposeAdjuster, move, parse, renameName, renameName, renameSheet, reorderSheetPtgs, shift, shrink, toDependRef, transpose, updateDependencyTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearCache, evaluate, extend, move, parse, renameName, renameName, renameSheet, reorderSheetPtgs, shift, shrink, transpose, updateDependencyTable
protected java.lang.Object getXelContext()
getXelContext
in class FormulaEngineImpl
protected void setXelContext(java.lang.Object ctx)
setXelContext
in class FormulaEngineImpl
protected java.lang.String renderFormula(ParsingBook parsingBook, java.lang.String formula, Ptg[] tokens, boolean always)
renderFormula
in class FormulaEngineImpl
protected Ptg[] parse(java.lang.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)
shrinkPtgs
in interface FormulaEngine
shrinkPtgs
in class FormulaEngineImpl
public FormulaExpression extendPtgs(FormulaExpression fe, SheetRegion srcRegion, boolean horizontal, FormulaParseContext context)
extendPtgs
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, java.lang.String oldSheetName, java.lang.String newSheetName, FormulaParseContext context)
renameSheetPtgs
in interface FormulaEngine
renameSheetPtgs
in class FormulaEngineImpl
public FormulaExpression renameNamePtgs(FormulaExpression fe, SBook targetBook, int sheetIndex, java.lang.String oldName, java.lang.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, java.lang.String oldName, java.lang.String newName, FormulaParseContext context)
renameTableNameTablePtgs
in interface FormulaEngine
renameTableNameTablePtgs
in class FormulaEngineImpl
protected FormulaEngineImpl.FormulaAdjuster getRenameTableAdjuster(java.lang.String oldName, java.lang.String newName)
public FormulaExpression renameColumnNameTablePtgs(FormulaExpression fe, STable table, java.lang.String oldName, java.lang.String newName, FormulaParseContext context)
renameColumnNameTablePtgs
in interface FormulaEngine
renameColumnNameTablePtgs
in class FormulaEngineImpl
protected FormulaEngineImpl.FormulaAdjuster getRenameColumnAdjuster(java.lang.String tableName, java.lang.String oldName, java.lang.String newName)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.