API Reference
@univerjs
@univerjs/engine-formula
classes
Activedirtymanagerservice

@univerjs/engine-formula v0.4.2Docs


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._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IActiveDirtyManagerService.dispose

Overrides

Disposable.dispose

Defined in

packages/engine-formula/src/services/active-dirty-manager.service.ts:54 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


get()

get(commandId): undefined | IDirtyConversionManagerParams

Parameters

ParameterType
commandIdstring

Returns

undefined | IDirtyConversionManagerParams

Implementation of

IActiveDirtyManagerService.get

Defined in

packages/engine-formula/src/services/active-dirty-manager.service.ts:62 (opens in a new tab)


getDirtyConversionMap()

getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>

Returns

Map<string, IDirtyConversionManagerParams>

Implementation of

IActiveDirtyManagerService.getDirtyConversionMap

Defined in

packages/engine-formula/src/services/active-dirty-manager.service.ts:74 (opens in a new tab)


has()

has(commandId): boolean

Parameters

ParameterType
commandIdstring

Returns

boolean

Implementation of

IActiveDirtyManagerService.has

Defined in

packages/engine-formula/src/services/active-dirty-manager.service.ts:66 (opens in a new tab)


register()

register(commandId, dirtyConversion): void

Parameters

ParameterType
commandIdstring
dirtyConversionIDirtyConversionManagerParams

Returns

void

Implementation of

IActiveDirtyManagerService.register

Defined in

packages/engine-formula/src/services/active-dirty-manager.service.ts:70 (opens in a new tab)


remove()

remove(commandId): void

Parameters

ParameterType
commandIdstring

Returns

void

Implementation of

IActiveDirtyManagerService.remove

Defined in

packages/engine-formula/src/services/active-dirty-manager.service.ts:58 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.