@univerjs/engine-formula v0.4.2 • Docs
Interface: IFormulaCurrentConfigService
Methods
getArrayFormulaCellData()
getArrayFormulaCellData(): IRuntimeUnitDataType
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:82 (opens in a new tab)
getArrayFormulaRange()
getArrayFormulaRange(): IArrayFormulaRangeType
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:84 (opens in a new tab)
getClearDependencyTreeCache()
getClearDependencyTreeCache(): IDirtyUnitSheetNameMap
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:98 (opens in a new tab)
getDirtyData()
getDirtyData(): IFormulaDirtyData
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:96 (opens in a new tab)
getDirtyDefinedNameMap()
getDirtyDefinedNameMap(): IDirtyUnitSheetDefinedNameMap
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:68 (opens in a new tab)
getDirtyNameMap()
getDirtyNameMap(): IDirtyUnitSheetNameMap
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:66 (opens in a new tab)
getDirtyRanges()
getDirtyRanges(): IUnitRange[]
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:64 (opens in a new tab)
getDirtyUnitFeatureMap()
getDirtyUnitFeatureMap(): IDirtyUnitFeatureMap
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:70 (opens in a new tab)
getDirtyUnitOtherFormulaMap()
getDirtyUnitOtherFormulaMap(): IDirtyUnitOtherFormulaMap
Returns
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
Defined in
packages/engine-formula/src/services/current-data.service.ts:58 (opens in a new tab)
getLocale()
getLocale(): LocaleType
Returns
Defined in
packages/engine-formula/src/services/current-data.service.ts:100 (opens in a new tab)
getSheetName()
getSheetName(unitId, sheetId): string
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
Returns
string
Defined in
packages/engine-formula/src/services/current-data.service.ts:86 (opens in a new tab)
getSheetNameMap()
getSheetNameMap(): IUnitSheetNameMap
Returns
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[];
}
Name | Type | Defined in |
---|---|---|
sheetNameMap | {} | packages/engine-formula/src/services/current-data.service.ts:104 (opens in a new tab) |
sheetOrder | string [] | 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
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
Parameter | Type |
---|---|
config | IFormulaDatasetConfig |
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
Parameter | Type |
---|---|
dirtyRanges | IUnitRange [] |
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
Parameter | Type |
---|---|
formulaData | IFormulaData |
Returns
void
Defined in
packages/engine-formula/src/services/current-data.service.ts:74 (opens in a new tab)
registerSheetNameMap()
registerSheetNameMap(sheetNameMap): void
Parameters
Parameter | Type |
---|---|
sheetNameMap | IUnitSheetNameMap |
Returns
void
Defined in
packages/engine-formula/src/services/current-data.service.ts:76 (opens in a new tab)
registerUnitData()
registerUnitData(unitData): void
Parameters
Parameter | Type |
---|---|
unitData | IUnitData |
Returns
void
Defined in
packages/engine-formula/src/services/current-data.service.ts:72 (opens in a new tab)
setExecuteSubUnitId()
setExecuteSubUnitId(subUnitId): void
Parameters
Parameter | Type |
---|---|
subUnitId | string |
Returns
void
Defined in
packages/engine-formula/src/services/current-data.service.ts:94 (opens in a new tab)
setExecuteUnitId()
setExecuteUnitId(unitId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Defined in
packages/engine-formula/src/services/current-data.service.ts:93 (opens in a new tab)