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