@univerjsengine-formulaindexclassesActivedirtymanagerservice

@univerjs/engine-formula v0.5.0-beta.1Docs


Class: ActiveDirtyManagerService

Actively mark as dirty, calculate the dirty area based on the command, and plugins can register the ref range they affect into the formula engine.

Extends

Implements

Constructors

new ActiveDirtyManagerService()

new ActiveDirtyManagerService(): ActiveDirtyManagerService

Returns

ActiveDirtyManagerService

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IActiveDirtyManagerService.dispose

Overrides

Disposable.dispose

Defined in

submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:54


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


get()

get(commandId): undefined | IDirtyConversionManagerParams

Parameters

ParameterType
commandIdstring

Returns

undefined | IDirtyConversionManagerParams

Implementation of

IActiveDirtyManagerService.get

Defined in

submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:62


getDirtyConversionMap()

getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>

Returns

Map<string, IDirtyConversionManagerParams>

Implementation of

IActiveDirtyManagerService.getDirtyConversionMap

Defined in

submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:74


has()

has(commandId): boolean

Parameters

ParameterType
commandIdstring

Returns

boolean

Implementation of

IActiveDirtyManagerService.has

Defined in

submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:66


register()

register(commandId, dirtyConversion): void

Parameters

ParameterType
commandIdstring
dirtyConversionIDirtyConversionManagerParams

Returns

void

Implementation of

IActiveDirtyManagerService.register

Defined in

submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:70


remove()

remove(commandId): void

Parameters

ParameterType
commandIdstring

Returns

void

Implementation of

IActiveDirtyManagerService.remove

Defined in

submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:58