@univerjsengine-formulaindexclassesFormulacurrentconfigservice

@univerjs/engine-formula v0.5.4


Class: FormulaCurrentConfigService

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:111

Extends

Implements

Constructors

new FormulaCurrentConfigService()

new FormulaCurrentConfigService(_univerInstanceService, _localeService): FormulaCurrentConfigService

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:145

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_localeServiceLocaleService

Returns

FormulaCurrentConfigService

Overrides

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/current-data.service.ts:152

Returns

void

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


getArrayFormulaCellData()

getArrayFormulaCellData(): IRuntimeUnitDataType

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:200

Returns

IRuntimeUnitDataType

Implementation of

IFormulaCurrentConfigService.getArrayFormulaCellData


getArrayFormulaRange()

getArrayFormulaRange(): IArrayFormulaRangeType

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:204

Returns

IArrayFormulaRangeType

Implementation of

IFormulaCurrentConfigService.getArrayFormulaRange


getClearDependencyTreeCache()

getClearDependencyTreeCache(): IDirtyUnitSheetNameMap

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:244

Returns

IDirtyUnitSheetNameMap

Implementation of

IFormulaCurrentConfigService.getClearDependencyTreeCache


getDirtyData()

getDirtyData(): IFormulaDirtyData

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:316

Returns

IFormulaDirtyData

Implementation of

IFormulaCurrentConfigService.getDirtyData


getDirtyDefinedNameMap()

getDirtyDefinedNameMap(): IDirtyUnitSheetDefinedNameMap

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:224

Returns

IDirtyUnitSheetDefinedNameMap

Implementation of

IFormulaCurrentConfigService.getDirtyDefinedNameMap


getDirtyNameMap()

getDirtyNameMap(): IDirtyUnitSheetNameMap

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:220

Returns

IDirtyUnitSheetNameMap

Implementation of

IFormulaCurrentConfigService.getDirtyNameMap


getDirtyRanges()

getDirtyRanges(): IUnitRange[]

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:216

Returns

IUnitRange[]

Implementation of

IFormulaCurrentConfigService.getDirtyRanges


getDirtyUnitFeatureMap()

getDirtyUnitFeatureMap(): IDirtyUnitFeatureMap

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:228

Returns

IDirtyUnitFeatureMap

Implementation of

IFormulaCurrentConfigService.getDirtyUnitFeatureMap


getDirtyUnitOtherFormulaMap()

getDirtyUnitOtherFormulaMap(): IDirtyUnitOtherFormulaMap

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:232

Returns

IDirtyUnitOtherFormulaMap

Implementation of

IFormulaCurrentConfigService.getDirtyUnitOtherFormulaMap


getExcludedRange()

getExcludedRange(): Nullable<IUnitExcludedCell>

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:184

Returns

Nullable<IUnitExcludedCell>

Implementation of

IFormulaCurrentConfigService.getExcludedRange


getExecuteSubUnitId()

getExecuteSubUnitId(): Nullable<string>

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:172

Returns

Nullable<string>

Implementation of

IFormulaCurrentConfigService.getExecuteSubUnitId


getExecuteUnitId()

getExecuteUnitId(): Nullable<string>

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:168

Returns

Nullable<string>

Implementation of

IFormulaCurrentConfigService.getExecuteUnitId


getFormulaData()

getFormulaData(): IFormulaData

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:196

Returns

IFormulaData

Implementation of

IFormulaCurrentConfigService.getFormulaData


getLocale()

getLocale(): LocaleType

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:248

Returns

LocaleType

Implementation of

IFormulaCurrentConfigService.getLocale


getSheetName()

getSheetName(unitId, sheetId): string

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:236

Parameters

ParameterType
unitIdstring
sheetIdstring

Returns

string

Implementation of

IFormulaCurrentConfigService.getSheetName


getSheetNameMap()

getSheetNameMap(): IUnitSheetNameMap

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:208

Returns

IUnitSheetNameMap

Implementation of

IFormulaCurrentConfigService.getSheetNameMap


getSheetRowColumnCount()

getSheetRowColumnCount(unitId, sheetId): {
  columnCount: number;
  rowCount: number;
}

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:262

Parameters

ParameterType
unitIdstring
sheetIdstring

Returns

{
  columnCount: number;
  rowCount: number;
}
NameTypeDefault valueDefined in
columnCountnumber0submodules/univer/packages/engine-formula/src/services/current-data.service.ts:268
rowCountnumber0submodules/univer/packages/engine-formula/src/services/current-data.service.ts:268

Implementation of

IFormulaCurrentConfigService.getSheetRowColumnCount


getSheetsInfo()

getSheetsInfo(): {
  sheetNameMap: {};
  sheetOrder: string[];
}

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:252

Returns

{
  sheetNameMap: {};
  sheetOrder: string[];
}
NameTypeDefined in
sheetNameMap{}submodules/univer/packages/engine-formula/src/services/current-data.service.ts:258
sheetOrderstring[]submodules/univer/packages/engine-formula/src/services/current-data.service.ts:257

Implementation of

IFormulaCurrentConfigService.getSheetsInfo


getUnitData()

getUnitData(): IUnitData

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:188

Returns

IUnitData

Implementation of

IFormulaCurrentConfigService.getUnitData


getUnitStylesData()

getUnitStylesData(): IUnitStylesData

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:192

Get the unit styles data.

Returns

IUnitStylesData

Implementation of

IFormulaCurrentConfigService.getUnitStylesData


isForceCalculate()

isForceCalculate(): boolean

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:212

Returns

boolean

Implementation of

IFormulaCurrentConfigService.isForceCalculate


load()

load(config): void

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:276

Parameters

ParameterType
configIFormulaDatasetConfig

Returns

void

Implementation of

IFormulaCurrentConfigService.load


loadDirtyRangesAndExcludedCell()

loadDirtyRangesAndExcludedCell(dirtyRanges, excludedCell?): void

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:328

Parameters

ParameterType
dirtyRangesIUnitRange[]
excludedCell?IUnitExcludedCell

Returns

void

Implementation of

IFormulaCurrentConfigService.loadDirtyRangesAndExcludedCell


registerFormulaData()

registerFormulaData(formulaData): void

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:343

Parameters

ParameterType
formulaDataIFormulaData

Returns

void

Implementation of

IFormulaCurrentConfigService.registerFormulaData


registerSheetNameMap()

registerSheetNameMap(sheetNameMap): void

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:347

Parameters

ParameterType
sheetNameMapIUnitSheetNameMap

Returns

void

Implementation of

IFormulaCurrentConfigService.registerSheetNameMap


registerUnitData()

registerUnitData(unitData): void

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:339

Parameters

ParameterType
unitDataIUnitData

Returns

void

Implementation of

IFormulaCurrentConfigService.registerUnitData


setExecuteSubUnitId()

setExecuteSubUnitId(subUnitId): void

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:180

Parameters

ParameterType
subUnitIdstring

Returns

void

Implementation of

IFormulaCurrentConfigService.setExecuteSubUnitId


setExecuteUnitId()

setExecuteUnitId(unitId): void

Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:176

Parameters

ParameterType
unitIdstring

Returns

void

Implementation of

IFormulaCurrentConfigService.setExecuteUnitId