HWPX icon

HWPX

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

콘텐츠 → 순차 텍스트 치환

AI-generated

Summary

Replace each occurrence of a specified text in an HWPX document sequentially with corresponding replacement values provided line-by-line, processing either from a binary property or a file URL.

Inputs

  • 입력 방식 (required) — Choose the input file source method: binary data or URL.
  • 입력 바이너리 속성 (required) — The binary property name that contains the HWPX file data when input source is binary.
  • 파일 URL (required) — The URL of the HWPX file to download when input source is URL.
  • 검색 텍스트 (required) — The text to search for in the document; each occurrence will be replaced sequentially.
  • 치환 값 (한 줄에 하나씩) (required) — List of replacement values entered one per line; the first occurrence replaces with the first line, the second with the second, and so on.
  • 출력 바이너리 속성 — Name of the binary property to store the modified HWPX file; defaults to 'data'.
  • 옵션: 대상 파일 — Select which files inside the HWPX archive to apply replacements: only the Contents XML files (recommended) or all XML files.

Output shape

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

If the number of text occurrences exceeds the number of replacement lines, only the replacements up to the available lines are applied. The operation modifies text in either the Contents XML files or all XML files depending on the selected options.

Links

Discussion