가져오기 및 내보내기

Plugin 정보

@univerjs-pro/boards-exchange-client는 Mermaid 소스 가져오기와 PPTX 파일 내보내기를 지원합니다.

지원 형식

아래 표는 이 페이지의 브라우저 API가 지원하는 형식입니다. Office 파일 변환에는 해당 문서 유형과 형식을 지원하는 백엔드가 필요합니다.

가져오기내보내기
Mermaid 소스 텍스트.pptx

먼저 보드 런타임 등록하기

TypeScript
univer.registerPlugin(UniverBoardsPlugin)univer.registerPlugin(UniverBoardsUIPlugin)univer.registerPlugin(UniverBoardsExchangeClientPlugin)

해당 요소가 포함될 수 있는 데이터를 가져오기 전에 선택적 요소 플러그인을 등록하세요.

TypeScript
univer.registerPlugin(UniverBoardsTablePlugin)univer.registerPlugin(UniverBoardsTableUIPlugin)univer.registerPlugin(UniverBoardsMindPlugin)univer.registerPlugin(UniverBoardsMindUIPlugin)

스냅샷 전달

애플리케이션 수준에서 데이터를 영구적으로 유지하려면 보드 스냅샷을 저장하고 복원하세요.

TypeScript
const board = univerAPI.getActiveBoard()const snapshot = board.getData()univer.createUnit(UniverInstanceType.UNIVER_BOARD, snapshot)

Facade 내보내기와 Mermaid 가져오기

TypeScript
import '@univerjs-pro/exchange-client/facade'import '@univerjs-pro/boards-exchange-client/facade'const file = await univerAPI.exportBoardByUnitIdAsync(board.getId())if (file) univerAPI.downloadFile(file, 'board', 'pptx')await board.insertMermaidAsync('flowchart LR\n  A[초안] --> B[검토]')

PPTX 내보내기는 Univer Server SDK로 변환 백엔드를 통합하고 Board 스냅샷 지원을 확인해야 합니다. 클라이언트 라이선스는 별도로 설정합니다. 브라우저 플러그인 등록만으로 변환 API가 제공되지는 않습니다.

이 가이드는 어떠셨나요?

© 2026 DreamNum Co., Ltd.