@univerjs/engine-formula v0.5.0-beta.1 • Docs
Class: FormulaCurrentConfigService
Extends
Implements
Constructors
new FormulaCurrentConfigService()
new FormulaCurrentConfigService(_univerInstanceService, _localeService): FormulaCurrentConfigService
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_localeService | LocaleService |
Returns
Overrides
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:144
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:151
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
getArrayFormulaCellData()
getArrayFormulaCellData(): IRuntimeUnitDataType
Returns
Implementation of
IFormulaCurrentConfigService
.getArrayFormulaCellData
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:199
getArrayFormulaRange()
getArrayFormulaRange(): IArrayFormulaRangeType
Returns
Implementation of
IFormulaCurrentConfigService
.getArrayFormulaRange
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:203
getClearDependencyTreeCache()
getClearDependencyTreeCache(): IDirtyUnitSheetNameMap
Returns
Implementation of
IFormulaCurrentConfigService
.getClearDependencyTreeCache
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:243
getDirtyData()
getDirtyData(): IFormulaDirtyData
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyData
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:315
getDirtyDefinedNameMap()
getDirtyDefinedNameMap(): IDirtyUnitSheetDefinedNameMap
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyDefinedNameMap
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:223
getDirtyNameMap()
getDirtyNameMap(): IDirtyUnitSheetNameMap
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyNameMap
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:219
getDirtyRanges()
getDirtyRanges(): IUnitRange[]
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyRanges
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:215
getDirtyUnitFeatureMap()
getDirtyUnitFeatureMap(): IDirtyUnitFeatureMap
Returns
Implementation of
IFormulaCurrentConfigService
.getDirtyUnitFeatureMap
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:227
getDirtyUnitOtherFormulaMap()
getDirtyUnitOtherFormulaMap(): IDirtyUnitOtherFormulaMap
Returns
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
Implementation of
IFormulaCurrentConfigService
.getFormulaData
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:195
getLocale()
getLocale(): LocaleType
Returns
Implementation of
IFormulaCurrentConfigService
.getLocale
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:247
getSheetName()
getSheetName(unitId, sheetId): string
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
Returns
string
Implementation of
IFormulaCurrentConfigService
.getSheetName
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:235
getSheetNameMap()
getSheetNameMap(): IUnitSheetNameMap
Returns
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
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
Returns
{
columnCount: 0;
rowCount: 0;
}
Name | Type | Default value | Defined in |
---|---|---|---|
columnCount | number | 0 | submodules/univer/packages/engine-formula/src/services/current-data.service.ts:267 |
rowCount | number | 0 | submodules/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[];
}
Name | Type | Defined in |
---|---|---|
sheetNameMap | {} | submodules/univer/packages/engine-formula/src/services/current-data.service.ts:257 |
sheetOrder | string [] | 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
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
Parameter | Type |
---|---|
config | IFormulaDatasetConfig |
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
Parameter | Type |
---|---|
dirtyRanges | IUnitRange [] |
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
Parameter | Type |
---|---|
formulaData | IFormulaData |
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
Parameter | Type |
---|---|
sheetNameMap | IUnitSheetNameMap |
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
Parameter | Type |
---|---|
unitData | IUnitData |
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
Parameter | Type |
---|---|
subUnitId | string |
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
Parameter | Type |
---|---|
unitId | string |
Returns
void
Implementation of
IFormulaCurrentConfigService
.setExecuteUnitId
Defined in
submodules/univer/packages/engine-formula/src/services/current-data.service.ts:175