HWPX icon

HWPX

HWPX/HWP 문서 읽기, 생성, 편집, 변환, 유효성 검사

콘텐츠 → 메모 추가

AI-generated

Summary

Add a memo (annotation) to a specific paragraph in a HWPX document, provided as binary data or a URL to the file.

Inputs

  • inputSource (required) — Specify whether the input HWPX file is provided as binary data or via a URL.
  • inputBinaryPropertyName (required) — When input source is binary, the name of the binary property containing the HWPX file.
  • fileUrl (required) — When input source is URL, the URL from which to download the HWPX file.
  • memoText (required) — The text content of the memo to add as an annotation.
  • options — Collection of optional parameters including fileName (output file name), outputBinaryPropertyName (output binary property name), and targetParagraphIndex (0-based index of the paragraph to attach the memo to, default 0).

Output shape

a single binary file containing the modified HWPX document with the added memo

The output binary property name defaults to 'data' if not specified. Errors during processing are indicated via node error handling.

Links

Discussion