Facade API

Enable the PDF Facade before creating the application API object.

This page covers only how to integrate the PDF Facade into an application. Register UniverPdfsPlugin for the PDF unit model, then import the side-effect entry before calling FUniver.newAPI().

Enable the PDF Facade

TypeScript
import { FUniver } from '@univerjs/core/facade'import '@univerjs-pro/pdfs/facade'const univerAPI = FUniver.newAPI(univer)

The side-effect import extends FUniver and univerAPI.Enum with PDF methods and enums.

To create, find, save, and edit PDF units, continue with Univer PDFs API.

How is this guide?

© 2026 DreamNum Co., Ltd.