hwp_extract_template_structure
Extract tree structure (TOC, sections, tables, fields) from HWP/HWPX templates using heading regex heuristics. Entry point for analyzing document forms.
Instructions
양식 문서의 트리 구조(목차/섹션/표/필드)를 추출합니다. (v0.7.1 신규) heading 정규식 휴리스틱(제 N 장/조/절, I./II., 1./1.1, 가./나., (1)/(가))으로 섹션 인식. analyze_document + traverse_all_ctrls 재활용 (95%). 사용자 양식 분석의 진입점.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | 양식 파일 경로 (HWP/HWPX) | |
| max_depth | No | 인식할 heading 깊이 (기본 4) |