@univerjs-proengine-formulaindexclassesActivedirtymanagerservice

@univerjs-pro/engine-formula v0.5.4


Class: ActiveDirtyManagerService

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

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:96

Methods

dispose()

dispose(): void

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

Returns

void

Implementation of

IActiveDirtyManagerService.dispose

Overrides

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


get()

get(commandId): undefined | IDirtyConversionManagerParams

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

Parameters

ParameterType
commandIdstring

Returns

undefined | IDirtyConversionManagerParams

Implementation of

IActiveDirtyManagerService.get


getDirtyConversionMap()

getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>

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

Returns

Map<string, IDirtyConversionManagerParams>

Implementation of

IActiveDirtyManagerService.getDirtyConversionMap


has()

has(commandId): boolean

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

Parameters

ParameterType
commandIdstring

Returns

boolean

Implementation of

IActiveDirtyManagerService.has


register()

register(commandId, dirtyConversion): void

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

Parameters

ParameterType
commandIdstring
dirtyConversionIDirtyConversionManagerParams

Returns

void

Implementation of

IActiveDirtyManagerService.register


remove()

remove(commandId): void

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

Parameters

ParameterType
commandIdstring

Returns

void

Implementation of

IActiveDirtyManagerService.remove