Status | ||||||
---|---|---|---|---|---|---|
|
에디터 객체에 api, params를 입력 하여 임포트 할 수 있는 API를 제공합니다API to import a document by entering api and params in the Editor object.
Parameters:
Name | Type | Description |
---|---|---|
api | String | 서버로 요청할 apiAPI to request to the server |
params | Objectapi | request에 설정할 parameterParameter to set in the api request |
bOverwrite | Boolean | 임포트시 덮어쓰기 (true인 경우 덮어쓰기) |
참고) 절대 경로를 활용한 import
...
Overwrite during import (overwrite when set to true) |
Note) Import Using Absolute Path
You may import a document by receiving the document's absolute server path as params and using that in the server's import logic.
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
const api = "./importOnServer"; const params = { path: "D:\test.docx" }; editor.openDocumentOnServer(api, params, true); |
...