@univerjs-pro/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
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_localeService | LocaleService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getArrayFormulaCellData()
getArrayFormulaCellData(): IRuntimeUnitDataType
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:200
Returns
Implementation of
IFormulaCurrentConfigService
.getArrayFormulaCellData
getArrayFormulaRange()
getArrayFormulaRange(): IArrayFormulaRangeType
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:204
Returns
Implementation of
IFormulaCurrentConfigService
.getArrayFormulaRange
getClearDependencyTreeCache()
getClearDependencyTreeCache(): IDirtyUnitSheetNameMap
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:244
Returns
Implementation of
IFormulaCurrentConfigService
.getClearDependencyTreeCache
getDirtyData()
getDirtyData(): IFormulaDirtyData
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:316
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyData
getDirtyDefinedNameMap()
getDirtyDefinedNameMap(): IDirtyUnitSheetDefinedNameMap
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:224
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyDefinedNameMap
getDirtyNameMap()
getDirtyNameMap(): IDirtyUnitSheetNameMap
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:220
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyNameMap
getDirtyRanges()
getDirtyRanges(): IUnitRange[]
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:216
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyRanges
getDirtyUnitFeatureMap()
getDirtyUnitFeatureMap(): IDirtyUnitFeatureMap
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:228
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyUnitFeatureMap
getDirtyUnitOtherFormulaMap()
getDirtyUnitOtherFormulaMap(): IDirtyUnitOtherFormulaMap
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:232
Returns
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
Implementation of
IFormulaCurrentConfigService
.getFormulaData
getLocale()
getLocale(): LocaleType
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:248
Returns
Implementation of
IFormulaCurrentConfigService
.getLocale
getSheetName()
getSheetName(unitId, sheetId): string
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:236
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
Returns
string
Implementation of
IFormulaCurrentConfigService
.getSheetName
getSheetNameMap()
getSheetNameMap(): IUnitSheetNameMap
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:208
Returns
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
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
Returns
{
columnCount: number;
rowCount: number;
}
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[];
}
Implementation of
IFormulaCurrentConfigService
.getSheetsInfo
getUnitData()
getUnitData(): IUnitData
Defined in: submodules/univer/packages/engine-formula/src/services/current-data.service.ts:188
Returns
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
Parameter | Type |
---|---|
config | IFormulaDatasetConfig |
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
Parameter | Type |
---|---|
dirtyRanges | IUnitRange [] |
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
Parameter | Type |
---|---|
formulaData | IFormulaData |
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
Parameter | Type |
---|---|
sheetNameMap | IUnitSheetNameMap |
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
Parameter | Type |
---|---|
unitData | IUnitData |
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
Parameter | Type |
---|---|
subUnitId | string |
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
Parameter | Type |
---|---|
unitId | string |
Returns
void