hwp_refresh_fields
Adds dirty marks to auto-calculated fields in HWPX files, triggering recalculation of table of contents, page numbers, dates, and indexes upon file opening.
Instructions
HWPX 파일의 자동 계산 필드(목차, 페이지번호, 작성일, 인덱스 등)에 dirty="1" 마크를 추가하여 한글이 다음에 파일을 열 때 자동 재계산하도록 합니다. (v0.7.0 신규, composite tool) 처리 대상: PageNum, TotalPage, Date, Time, TOC, Index, CrossRef, FieldFormula. .hwp는 미지원.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | 대상 HWPX 파일 경로 (.hwpx만) | |
| field_types | No | 처리할 필드 종류 (기본: ["all"]) | |
| output_path | No | 저장 경로 (생략 시 원본 덮어쓰기) |