@univerjsengine-formulaindexclassesFormulacurrentconfigservice

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


Class: FormulaCurrentConfigService

Extends

Implements

Constructors

new FormulaCurrentConfigService()

new FormulaCurrentConfigService(_univerInstanceService, _localeService): FormulaCurrentConfigService

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_localeServiceLocaleService

Returns

FormulaCurrentConfigService

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:144

Properties

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

Methods

dispose()

dispose(): void

Returns

void

Overrides

Disposable.dispose

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:151


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


getArrayFormulaCellData()

getArrayFormulaCellData(): IRuntimeUnitDataType

Returns

IRuntimeUnitDataType

Implementation of

IFormulaCurrentConfigService.getArrayFormulaCellData

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:199


getArrayFormulaRange()

getArrayFormulaRange(): IArrayFormulaRangeType

Returns

IArrayFormulaRangeType

Implementation of

IFormulaCurrentConfigService.getArrayFormulaRange

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:203


getClearDependencyTreeCache()

getClearDependencyTreeCache(): IDirtyUnitSheetNameMap

Returns

IDirtyUnitSheetNameMap

Implementation of

IFormulaCurrentConfigService.getClearDependencyTreeCache

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:243


getDirtyData()

getDirtyData(): IFormulaDirtyData

Returns

IFormulaDirtyData

Implementation of

IFormulaCurrentConfigService.getDirtyData

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:315


getDirtyDefinedNameMap()

getDirtyDefinedNameMap(): IDirtyUnitSheetDefinedNameMap

Returns

IDirtyUnitSheetDefinedNameMap

Implementation of

IFormulaCurrentConfigService.getDirtyDefinedNameMap

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:223


getDirtyNameMap()

getDirtyNameMap(): IDirtyUnitSheetNameMap

Returns

IDirtyUnitSheetNameMap

Implementation of

IFormulaCurrentConfigService.getDirtyNameMap

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:219


getDirtyRanges()

getDirtyRanges(): IUnitRange[]

Returns

IUnitRange[]

Implementation of

IFormulaCurrentConfigService.getDirtyRanges

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:215


getDirtyUnitFeatureMap()

getDirtyUnitFeatureMap(): IDirtyUnitFeatureMap

Returns

IDirtyUnitFeatureMap

Implementation of

IFormulaCurrentConfigService.getDirtyUnitFeatureMap

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:227


getDirtyUnitOtherFormulaMap()

getDirtyUnitOtherFormulaMap(): IDirtyUnitOtherFormulaMap

Returns

IDirtyUnitOtherFormulaMap

Implementation of

IFormulaCurrentConfigService.getDirtyUnitOtherFormulaMap

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:231


getExcludedRange()

getExcludedRange(): Nullable<IUnitExcludedCell>

Returns

Nullable<IUnitExcludedCell>

Implementation of

IFormulaCurrentConfigService.getExcludedRange

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:183


getExecuteSubUnitId()

getExecuteSubUnitId(): Nullable<string>

Returns

Nullable<string>

Implementation of

IFormulaCurrentConfigService.getExecuteSubUnitId

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:171


getExecuteUnitId()

getExecuteUnitId(): Nullable<string>

Returns

Nullable<string>

Implementation of

IFormulaCurrentConfigService.getExecuteUnitId

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:167


getFormulaData()

getFormulaData(): IFormulaData

Returns

IFormulaData

Implementation of

IFormulaCurrentConfigService.getFormulaData

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:195


getLocale()

getLocale(): LocaleType

Returns

LocaleType

Implementation of

IFormulaCurrentConfigService.getLocale

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:247


getSheetName()

getSheetName(unitId, sheetId): string

Parameters

ParameterType
unitIdstring
sheetIdstring

Returns

string

Implementation of

IFormulaCurrentConfigService.getSheetName

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:235


getSheetNameMap()

getSheetNameMap(): IUnitSheetNameMap

Returns

IUnitSheetNameMap

Implementation of

IFormulaCurrentConfigService.getSheetNameMap

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:207


getSheetRowColumnCount()

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

Parameters

ParameterType
unitIdstring
sheetIdstring

Returns

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

Implementation of

IFormulaCurrentConfigService.getSheetRowColumnCount

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:261


getSheetsInfo()

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

Returns

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

Implementation of

IFormulaCurrentConfigService.getSheetsInfo

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:251


getUnitData()

getUnitData(): IUnitData

Returns

IUnitData

Implementation of

IFormulaCurrentConfigService.getUnitData

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:187


getUnitStylesData()

getUnitStylesData(): IUnitStylesData

Get the unit styles data.

Returns

IUnitStylesData

Implementation of

IFormulaCurrentConfigService.getUnitStylesData

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:191


isForceCalculate()

isForceCalculate(): boolean

Returns

boolean

Implementation of

IFormulaCurrentConfigService.isForceCalculate

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:211


load()

load(config): void

Parameters

ParameterType
configIFormulaDatasetConfig

Returns

void

Implementation of

IFormulaCurrentConfigService.load

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:275


loadDirtyRangesAndExcludedCell()

loadDirtyRangesAndExcludedCell(dirtyRanges, excludedCell?): void

Parameters

ParameterType
dirtyRangesIUnitRange[]
excludedCell?IUnitExcludedCell

Returns

void

Implementation of

IFormulaCurrentConfigService.loadDirtyRangesAndExcludedCell

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:327


registerFormulaData()

registerFormulaData(formulaData): void

Parameters

ParameterType
formulaDataIFormulaData

Returns

void

Implementation of

IFormulaCurrentConfigService.registerFormulaData

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:342


registerSheetNameMap()

registerSheetNameMap(sheetNameMap): void

Parameters

ParameterType
sheetNameMapIUnitSheetNameMap

Returns

void

Implementation of

IFormulaCurrentConfigService.registerSheetNameMap

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:346


registerUnitData()

registerUnitData(unitData): void

Parameters

ParameterType
unitDataIUnitData

Returns

void

Implementation of

IFormulaCurrentConfigService.registerUnitData

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:338


setExecuteSubUnitId()

setExecuteSubUnitId(subUnitId): void

Parameters

ParameterType
subUnitIdstring

Returns

void

Implementation of

IFormulaCurrentConfigService.setExecuteSubUnitId

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:179


setExecuteUnitId()

setExecuteUnitId(unitId): void

Parameters

ParameterType
unitIdstring

Returns

void

Implementation of

IFormulaCurrentConfigService.setExecuteUnitId

Defined in

submodules/univer/packages/engine-formula/src/services/current-data.service.ts:175