@univerjsengine-formulaindexinterfacesIformulacurrentconfigservice

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


Interface: IFormulaCurrentConfigService

Methods

getArrayFormulaCellData()

getArrayFormulaCellData(): IRuntimeUnitDataType

Returns

IRuntimeUnitDataType

Defined in

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


getArrayFormulaRange()

getArrayFormulaRange(): IArrayFormulaRangeType

Returns

IArrayFormulaRangeType

Defined in

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


getClearDependencyTreeCache()

getClearDependencyTreeCache(): IDirtyUnitSheetNameMap

Returns

IDirtyUnitSheetNameMap

Defined in

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


getDirtyData()

getDirtyData(): IFormulaDirtyData

Returns

IFormulaDirtyData

Defined in

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


getDirtyDefinedNameMap()

getDirtyDefinedNameMap(): IDirtyUnitSheetDefinedNameMap

Returns

IDirtyUnitSheetDefinedNameMap

Defined in

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


getDirtyNameMap()

getDirtyNameMap(): IDirtyUnitSheetNameMap

Returns

IDirtyUnitSheetNameMap

Defined in

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


getDirtyRanges()

getDirtyRanges(): IUnitRange[]

Returns

IUnitRange[]

Defined in

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


getDirtyUnitFeatureMap()

getDirtyUnitFeatureMap(): IDirtyUnitFeatureMap

Returns

IDirtyUnitFeatureMap

Defined in

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


getDirtyUnitOtherFormulaMap()

getDirtyUnitOtherFormulaMap(): IDirtyUnitOtherFormulaMap

Returns

IDirtyUnitOtherFormulaMap

Defined in

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


getExcludedRange()

getExcludedRange(): Nullable<IUnitExcludedCell>

Returns

Nullable<IUnitExcludedCell>

Defined in

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


getExecuteSubUnitId()

getExecuteSubUnitId(): Nullable<string>

Returns

Nullable<string>

Defined in

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


getExecuteUnitId()

getExecuteUnitId(): Nullable<string>

Returns

Nullable<string>

Defined in

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


getFormulaData()

getFormulaData(): IFormulaData

Returns

IFormulaData

Defined in

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


getLocale()

getLocale(): LocaleType

Returns

LocaleType

Defined in

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


getSheetName()

getSheetName(unitId, sheetId): string

Parameters

ParameterType
unitIdstring
sheetIdstring

Returns

string

Defined in

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


getSheetNameMap()

getSheetNameMap(): IUnitSheetNameMap

Returns

IUnitSheetNameMap

Defined in

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


getSheetRowColumnCount()

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

Parameters

ParameterType
unitIdstring
sheetIdstring

Returns

{
  columnCount: number;
  rowCount: number;
}
NameTypeDefined in
columnCountnumbersubmodules/univer/packages/engine-formula/src/services/current-data.service.ts:107
rowCountnumbersubmodules/univer/packages/engine-formula/src/services/current-data.service.ts:107

Defined in

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


getSheetsInfo()

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

Returns

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

Defined in

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


getUnitData()

getUnitData(): IUnitData

Returns

IUnitData

Defined in

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


getUnitStylesData()

getUnitStylesData(): IUnitStylesData

Get the unit styles data.

Returns

IUnitStylesData

Defined in

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


isForceCalculate()

isForceCalculate(): boolean

Returns

boolean

Defined in

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


load()

load(config): void

Parameters

ParameterType
configIFormulaDatasetConfig

Returns

void

Defined in

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


loadDirtyRangesAndExcludedCell()

loadDirtyRangesAndExcludedCell(dirtyRanges, excludedCell?): void

Parameters

ParameterType
dirtyRangesIUnitRange[]
excludedCell?IUnitExcludedCell

Returns

void

Defined in

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


registerFormulaData()

registerFormulaData(formulaData): void

Parameters

ParameterType
formulaDataIFormulaData

Returns

void

Defined in

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


registerSheetNameMap()

registerSheetNameMap(sheetNameMap): void

Parameters

ParameterType
sheetNameMapIUnitSheetNameMap

Returns

void

Defined in

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


registerUnitData()

registerUnitData(unitData): void

Parameters

ParameterType
unitDataIUnitData

Returns

void

Defined in

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


setExecuteSubUnitId()

setExecuteSubUnitId(subUnitId): void

Parameters

ParameterType
subUnitIdstring

Returns

void

Defined in

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


setExecuteUnitId()

setExecuteUnitId(unitId): void

Parameters

ParameterType
unitIdstring

Returns

void

Defined in

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