@univerjs/sheets-formula v0.4.2 • Docs
Class: FormulaRefRangeService
Extends
Constructors
new FormulaRefRangeService()
new FormulaRefRangeService(
_refRangeService,
_lexerTreeBuilder,
_univerInstanceService): FormulaRefRangeService
Parameters
Parameter | Type |
---|---|
_refRangeService | RefRangeService |
_lexerTreeBuilder | LexerTreeBuilder |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
packages/sheets-formula/src/services/formula-ref-range.service.ts:36 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
registerFormula()
registerFormula(
unitId,
subUnitId,
formula,
callback): IDisposable
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
formula | string |
callback | FormulaChangeCallback |
Returns
Defined in
packages/sheets-formula/src/services/formula-ref-range.service.ts:96 (opens in a new tab)
transformFormulaByEffectCommand()
transformFormulaByEffectCommand(
unitId,
subUnitId,
formula,
params): string
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
formula | string |
params | EffectRefRangeParams |
Returns
string
Defined in
packages/sheets-formula/src/services/formula-ref-range.service.ts:44 (opens in a new tab)