API

@univerjs/preset-docs-advanced

この API ページの本文は現在英語です。コードのシグネチャと識別子は表示言語によって変わりません。
TypeScript
import { UniverDocsAdvancedPreset } from '@univerjs/preset-docs-advanced'createUniver({  presets: [    UniverDocsAdvancedPreset({      license: 'your-license',      universerEndpoint: 'https://your-backend.example.com',    }),  ],})

The preset registers plugins in this order:

  1. License
  2. Docs print
  3. advanced formula engine, Docs formula model, then Docs formula UI
  4. Exchange client, then Docs exchange integration

This order establishes the license and calculation services before product features consume them, then attaches server-backed import and export.

universerEndpoint points to your application backend. Compose the required Univer Server SDK modules and expose their protocol routes there; the preset only registers browser plugins. Implement the upload, conversion, task, and download routes described in file exchange integration.

Configuration

TypeScript
interface IUniverDocsAdvancedPresetConfig {  license?: string  universerEndpoint?: string}

このガイドはいかがですか?

© 2026 DreamNum Co., Ltd.