@univerjs/sheets-formula
本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。
Sheet formula services and calculation integration for Univer Sheets.
TypeScript
import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula'univer.registerPlugin(UniverSheetsFormulaPlugin, IUniverSheetsFormulaBaseConfig)Entry Points
- Facade:
@univerjs/sheets-formula/facade - Locale:
@univerjs/sheets-formula/locale/*
IUniverSheetsFormulaBaseConfig
TypeScript
import type { Ctor } from '@univerjs/core'import type { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula'export interface IUniverSheetsFormulaBaseConfig { notExecuteFormula?: boolean description?: IFunctionInfo[] function?: Array<[Ctor<BaseFunction>, IFunctionNames]> /** * Define the calculation mode during initialization, default is `WHEN_EMPTY` */ initialFormulaComputing?: CalculationMode /** * If true, the plugin will write array formula results to the snapshot. Normally you should not set this value. */ writeArrayFormulaToSnapshot?: boolean}IUniverSheetsFormulaRemoteConfig
TypeScript
import type { Ctor } from '@univerjs/core'import type { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula'export interface IUniverSheetsFormulaRemoteConfig {}你觉得这篇文档如何?