HWPX icon

HWPX

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

콘텐츠 → 각주/미주 추가

AI-generated

Summary

Add a footnote or endnote annotation to a specified paragraph in an HWPX document file.

Inputs

  • 입력 방식 (required) — Choose the file input method: provide the HWPX file as binary data or via a URL.
  • 입력 바이너리 속성 (required) — Name of the binary property containing the HWPX file data (used when input mode is binary).
  • 파일 URL (required) — URL from which to download the HWPX file (used when input mode is URL).
  • 주석 유형 (required) — Type of annotation to add: footnote (displayed at page bottom) or endnote (displayed at document end).
  • 주석 텍스트 (required) — Text content of the footnote or endnote to insert.
  • 대상 문단 인덱스 — Zero-based index of the paragraph to which the note should be attached; defaults to paragraph 0 if not specified.
  • 파일 이름 — Filename for the output document with the added note; defaults to 'noted.hwpx'.
  • 출력 바이너리 속성 — Name of the binary property for the resulting HWPX file with the new annotation; defaults to 'data'.

Output shape

a single modified HWPX file returned as binary data under the specified output binary property name

The operation outputs the updated HWPX document including the added footnote or endnote annotation. Paragraph index must be provided to specify where the note attaches. Input is accepted as either binary file data or URL to the file.

Examples

Example 1: Add a footnote to the first paragraph of an HWPX document provided as file binary.

Set input method to 'binary', use 'data' as input binary property, choose 'footnote' as note type, specify the note text, and optionally set output binary property name.

Example 2: Add an endnote to the second paragraph of an HWPX document downloaded from a URL.

Set input method to 'url', provide the file URL, choose 'endnote' as note type, specify note text, set target paragraph index to 1, and optionally specify output file name and binary property name.

Links

Discussion