API Reference
@univerjs
@univerjs/engine-formula
interfaces
Iformulacurrentconfigservice

@univerjs/engine-formula v0.4.2Docs


Interface: IFormulaCurrentConfigService

Methods

getArrayFormulaCellData()

getArrayFormulaCellData(): IRuntimeUnitDataType

Returns

IRuntimeUnitDataType

Defined in

packages/engine-formula/src/services/current-data.service.ts:82 (opens in a new tab)


getArrayFormulaRange()

getArrayFormulaRange(): IArrayFormulaRangeType

Returns

IArrayFormulaRangeType

Defined in

packages/engine-formula/src/services/current-data.service.ts:84 (opens in a new tab)


getClearDependencyTreeCache()

getClearDependencyTreeCache(): IDirtyUnitSheetNameMap

Returns

IDirtyUnitSheetNameMap

Defined in

packages/engine-formula/src/services/current-data.service.ts:98 (opens in a new tab)


getDirtyData()

getDirtyData(): IFormulaDirtyData

Returns

IFormulaDirtyData

Defined in

packages/engine-formula/src/services/current-data.service.ts:96 (opens in a new tab)


getDirtyDefinedNameMap()

getDirtyDefinedNameMap(): IDirtyUnitSheetDefinedNameMap

Returns

IDirtyUnitSheetDefinedNameMap

Defined in

packages/engine-formula/src/services/current-data.service.ts:68 (opens in a new tab)


getDirtyNameMap()

getDirtyNameMap(): IDirtyUnitSheetNameMap

Returns

IDirtyUnitSheetNameMap

Defined in

packages/engine-formula/src/services/current-data.service.ts:66 (opens in a new tab)


getDirtyRanges()

getDirtyRanges(): IUnitRange[]

Returns

IUnitRange[]

Defined in

packages/engine-formula/src/services/current-data.service.ts:64 (opens in a new tab)


getDirtyUnitFeatureMap()

getDirtyUnitFeatureMap(): IDirtyUnitFeatureMap

Returns

IDirtyUnitFeatureMap

Defined in

packages/engine-formula/src/services/current-data.service.ts:70 (opens in a new tab)


getDirtyUnitOtherFormulaMap()

getDirtyUnitOtherFormulaMap(): IDirtyUnitOtherFormulaMap

Returns

IDirtyUnitOtherFormulaMap

Defined in

packages/engine-formula/src/services/current-data.service.ts:88 (opens in a new tab)


getExcludedRange()

getExcludedRange(): Nullable<IUnitExcludedCell>

Returns

Nullable<IUnitExcludedCell>

Defined in

packages/engine-formula/src/services/current-data.service.ts:78 (opens in a new tab)


getExecuteSubUnitId()

getExecuteSubUnitId(): Nullable<string>

Returns

Nullable<string>

Defined in

packages/engine-formula/src/services/current-data.service.ts:91 (opens in a new tab)


getExecuteUnitId()

getExecuteUnitId(): Nullable<string>

Returns

Nullable<string>

Defined in

packages/engine-formula/src/services/current-data.service.ts:90 (opens in a new tab)


getFormulaData()

getFormulaData(): IFormulaData

Returns

IFormulaData

Defined in

packages/engine-formula/src/services/current-data.service.ts:58 (opens in a new tab)


getLocale()

getLocale(): LocaleType

Returns

LocaleType

Defined in

packages/engine-formula/src/services/current-data.service.ts:100 (opens in a new tab)


getSheetName()

getSheetName(unitId, sheetId): string

Parameters

ParameterType
unitIdstring
sheetIdstring

Returns

string

Defined in

packages/engine-formula/src/services/current-data.service.ts:86 (opens in a new tab)


getSheetNameMap()

getSheetNameMap(): IUnitSheetNameMap

Returns

IUnitSheetNameMap

Defined in

packages/engine-formula/src/services/current-data.service.ts:60 (opens in a new tab)


getSheetsInfo()

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

Returns

{
  sheetNameMap: {};
  sheetOrder: string[];
}
NameTypeDefined in
sheetNameMap{}packages/engine-formula/src/services/current-data.service.ts:104 (opens in a new tab)
sheetOrderstring[]packages/engine-formula/src/services/current-data.service.ts:103 (opens in a new tab)

Defined in

packages/engine-formula/src/services/current-data.service.ts:102 (opens in a new tab)


getUnitData()

getUnitData(): IUnitData

Returns

IUnitData

Defined in

packages/engine-formula/src/services/current-data.service.ts:51 (opens in a new tab)


getUnitStylesData()

getUnitStylesData(): IUnitStylesData

Get the unit styles data.

Returns

IUnitStylesData

Defined in

packages/engine-formula/src/services/current-data.service.ts:56 (opens in a new tab)


isForceCalculate()

isForceCalculate(): boolean

Returns

boolean

Defined in

packages/engine-formula/src/services/current-data.service.ts:62 (opens in a new tab)


load()

load(config): void

Parameters

ParameterType
configIFormulaDatasetConfig

Returns

void

Defined in

packages/engine-formula/src/services/current-data.service.ts:49 (opens in a new tab)


loadDirtyRangesAndExcludedCell()

loadDirtyRangesAndExcludedCell(dirtyRanges, excludedCell?): void

Parameters

ParameterType
dirtyRangesIUnitRange[]
excludedCell?IUnitExcludedCell

Returns

void

Defined in

packages/engine-formula/src/services/current-data.service.ts:80 (opens in a new tab)


registerFormulaData()

registerFormulaData(formulaData): void

Parameters

ParameterType
formulaDataIFormulaData

Returns

void

Defined in

packages/engine-formula/src/services/current-data.service.ts:74 (opens in a new tab)


registerSheetNameMap()

registerSheetNameMap(sheetNameMap): void

Parameters

ParameterType
sheetNameMapIUnitSheetNameMap

Returns

void

Defined in

packages/engine-formula/src/services/current-data.service.ts:76 (opens in a new tab)


registerUnitData()

registerUnitData(unitData): void

Parameters

ParameterType
unitDataIUnitData

Returns

void

Defined in

packages/engine-formula/src/services/current-data.service.ts:72 (opens in a new tab)


setExecuteSubUnitId()

setExecuteSubUnitId(subUnitId): void

Parameters

ParameterType
subUnitIdstring

Returns

void

Defined in

packages/engine-formula/src/services/current-data.service.ts:94 (opens in a new tab)


setExecuteUnitId()

setExecuteUnitId(unitId): void

Parameters

ParameterType
unitIdstring

Returns

void

Defined in

packages/engine-formula/src/services/current-data.service.ts:93 (opens in a new tab)


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