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.