@univerjs/sheets-formula v0.5.4
Class: FormulaRefRangeService
Defined in: submodules/univer/packages/sheets-formula/src/services/formula-ref-range.service.ts:73
Extends
Constructors
new FormulaRefRangeService()
new FormulaRefRangeService(
_refRangeService,
_lexerTreeBuilder,
_univerInstanceService,
_injector): FormulaRefRangeService
Defined in: submodules/univer/packages/sheets-formula/src/services/formula-ref-range.service.ts:74
Parameters
Parameter | Type |
---|---|
_refRangeService | RefRangeService |
_lexerTreeBuilder | LexerTreeBuilder |
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
registerFormula()
registerFormula(
unitId,
subUnitId,
formula,
callback): IDisposable
Defined in: submodules/univer/packages/sheets-formula/src/services/formula-ref-range.service.ts:135
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
formula | string |
callback | FormulaChangeCallback |
Returns
registerRangeFormula()
registerRangeFormula(
unitId,
subUnitId,
oldRanges,
formulas,
callback): IDisposable
Defined in: submodules/univer/packages/sheets-formula/src/services/formula-ref-range.service.ts:251
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
oldRanges | IRange [] |
formulas | string [] |
callback | RangeFormulaChangeCallback |
Returns
transformFormulaByEffectCommand()
transformFormulaByEffectCommand(
unitId,
subUnitId,
formula,
params): string
Defined in: submodules/univer/packages/sheets-formula/src/services/formula-ref-range.service.ts:83
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
formula | string |
params | EffectRefRangeParams |
Returns
string