Page tree
Skip to end of metadata
Go to start of metadata

릴리즈 2.4.1 이상

api와 params 를 통해 임포트 할 수 있는 API를 제공합니다.


Parameters:

Name

Type

Description

apiStringapi 입니다.
paramsObject임포트 요청시 함께 전달할 parameter 를 설정합니다.
bOverwriteBoolean=true임포트시 작성중인 내용을 덮어쓰기 할지 여부입니다. (기본값 true)
headersObject

릴리즈 2.7.0 이상 헤더를 설정합니다


참고) 절대 경로를 활용한 import

문서의 서버 절대경로 path를 params로 받아 서버 import 로직에서 활용하여 임포트가 가능합니다.


Example:

const api = "./importOnServer";
const params = { path: "D:\test.docx" };
editor.openDocumentOnServer(api, params, true);






  • No labels