@univerjs/facade v0.4.2 • Docs
Class: FFormula
This interface class provides methods to modify the behavior of the operation formula.
Constructors
new FFormula()
new FFormula(_commandService): FFormula
Parameters
Parameter | Type |
---|---|
_commandService | ICommandService |
Returns
Defined in
submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:26 (opens in a new tab)
Methods
calculationEnd()
calculationEnd(callback): IDisposable
Listening calculation ends.
Parameters
Parameter | Type |
---|---|
callback | (functionsExecutedState ) => void |
Returns
Defined in
submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:69 (opens in a new tab)
calculationProcessing()
calculationProcessing(callback): IDisposable
Listening calculation processing.
Parameters
Parameter | Type |
---|---|
callback | (stageInfo ) => void |
Returns
Defined in
submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:101 (opens in a new tab)
calculationStart()
calculationStart(callback): IDisposable
Listening calculation starts.
Parameters
Parameter | Type |
---|---|
callback | (forceCalculation ) => void |
Returns
Defined in
submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:57 (opens in a new tab)
executeCalculation()
executeCalculation(): void
Start the calculation of the formula.
Returns
void
Defined in
submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:34 (opens in a new tab)
onCalculationEnd()
onCalculationEnd(): Promise<void>
Returns
Promise
<void
>
Defined in
submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:83 (opens in a new tab)
stopCalculation()
stopCalculation(): void
Stop the calculation of the formula.
Returns
void
Defined in
submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:50 (opens in a new tab)