Skip to content

HWPX 양식 컨트롤 파싱 미구현 — checkBtn/btn/radioBtn/comboBox/edit IR 처리 #110

@edwardkim

Description

@edwardkim

현상

HWPX 파일의 양식 컨트롤(체크박스, 라디오버튼, 콤보박스, 입력상자 등)이 렌더링되지 않는다.

원인

HWPX 파서(src/parser/hwpx/section.rs)에 <hp:run> 내부 양식 컨트롤 요소 파싱 코드가 없다.
HWP 바이너리 파서에는 FormObject / FormType 모델이 완비되어 있으나 HWPX 경로가 누락되어 있다.

수정 범위

src/parser/hwpx/section.rs<hp:run> 파싱 분기에 아래 5개 태그 추가

HWPX 태그 FormType 속성 타입
<hp:btn> PushButton AbstractButtonObjectType
<hp:checkBtn> CheckBox AbstractButtonObjectType
<hp:radioBtn> RadioButton AbstractButtonObjectType
<hp:comboBox> ComboBox ComboBoxType + <listItem> 자식
<hp:edit> Edit EditType + <text> 자식

검증 샘플

samples/hwpx/form-002.hwpx — checkBtn 180개 포함

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions