Actions31
콘텐츠 → 북마크 추가
AI-generatedSummary
Add a bookmark to a specified paragraph in an HWPX document provided either as binary data or via a URL.
Inputs
- 입력 방식 (required) — Choose how to provide the HWPX file to modify: either as binary data from a specified binary property or a remote file URL.
- 입력 바이너리 속성 (required) — When providing the file as binary data, set the name of the binary property containing the input HWPX file.
- 파일 URL (required) — When providing the file via URL, specify the direct URL from which to download the HWPX file.
- 책갈피 이름 (required) — Specify the name of the bookmark to add, which will be used for cross-referencing within the document.
- 옵션 — Additional optional settings including the output file name, the name of the binary property to hold the modified file, and the zero-based index of the paragraph where the bookmark will be inserted.
Output shape
a single new binary file with the bookmark added
The output is the updated HWPX document with the added bookmark stored in a binary property (default 'data') under a user-defined filename. The bookmark is inserted at the paragraph position indicated by '대상 문단 인덱스' (default 0). If invalid parameters or input are provided, operation may fail.
Examples
Example 1: Add a bookmark named 'Chapter1' at the first paragraph of an uploaded HWPX file.
Set '입력 방식' to 'binary' and '입력 바이너리 속성' to the binary property containing the HWPX file. Enter 'Chapter1' for '책갈피 이름'. Optionally specify output filename and target paragraph index.
Example 2: Add a bookmark named 'Summary' via an HWPX file hosted at a URL.
Set '입력 방식' to 'url' and specify the '파일 URL' pointing to the HWPX document. Enter 'Summary' for '책갈피 이름'. Optionally adjust the target paragraph index and output filename.