Skip to Content
🎉 Univer 0.5.5 is released.Read more →
GuidesUniver SheetsFeaturesAdvanced FormulaPro

Advanced Formula 0.5.0+

Facade APIHas Paid PlanUniver ServerUniver on Node.jsPreset
-UniverSheetsAdvancedPreset

Univer advanced formula provides a new calculation engine that optimizes calculation performance.

This feature includes the following plugin packages:

Presets Installation

import { createUniver, defaultTheme, LocaleType, merge } from '@univerjs/presets'; import { UniverSheetsCorePreset } from '@univerjs/presets/preset-sheets-core'; import UniverPresetSheetsCoreEnUS from '@univerjs/presets/preset-sheets-core/locales/en-US'; import { UniverSheetsAdvancedPreset } from '@univerjs/presets/preset-sheets-advanced'; import UniverPresetSheetsAdvancedEnUS from '@univerjs/presets/preset-sheets-advanced/locales/en-US'; import { UniverSheetsDrawingPreset } from '@univerjs/presets/preset-sheets-drawing' import UniverPresetSheetsDrawingEnUS from '@univerjs/presets/preset-sheets-drawing/locales/en-US' import '@univerjs/presets/lib/styles/preset-sheets-core.css' import '@univerjs/presets/lib/styles/preset-sheets-drawing.css' import '@univerjs/presets/lib/styles/preset-sheets-advanced.css' const { univerAPI } = createUniver({ locale: LocaleType.EN_US, locales: { [LocaleType.EN_US]: merge( {}, UniverPresetSheetsCoreEnUS, UniverPresetSheetsDrawingEnUS, UniverPresetSheetsAdvancedEnUS, ), }, theme: defaultTheme, presets: [ UniverSheetsCorePreset(), UniverSheetsDrawingPreset(), UniverSheetsAdvancedPreset(), ], });

Piecemeal Installation

npm install @univerjs-pro/engine-formula
import { LocaleType, merge } from '@univerjs/core'; - import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula' import { UniverProFormulaEnginePlugin } from '@univerjs-pro/engine-formula' - univer.registerPlugin(UniverFormulaEnginePlugin); + univer.registerPlugin(UniverProFormulaEnginePlugin);

Facade API

Refer to the Facade API of the core formula.

Last updated on

Was this page helpful?