hwp-cli
Copyright (c) 2026 hwp-cli contributors

This product is dual-licensed under MIT OR Apache-2.0.
See LICENSE-MIT and LICENSE-APACHE.

================================================================================
Hancom HWP 5.0 specification attribution (한컴 공개 문서 고지)
================================================================================

본 제품은 한글과컴퓨터의 한글 문서 파일(.hwp) 공개 문서를 참고하여 개발하였습니다.

This product was developed with reference to Hancom's HWP document file format
open specification ("한글 문서 파일 형식 5.0 / HWP Document File Formats 5.0",
(c) (주)한글과컴퓨터 / Hancom Inc.), available at:

    https://store.hancom.com/etc/hwpDownload.do

The specification document itself is the copyright of Hancom Inc. and is NOT
redistributed in this repository; only a link to the official source is provided.
Code comments cite the specification by section number (fair-use reference).

================================================================================
Bundled third-party test fixtures
================================================================================

Some HWP test fixtures under fixtures/hwp5/ — hello_world.hwp, bookmark.hwp,
color_fill.hwp, outline.hwp — are taken from the hahnlee/hwp-rs project
(https://github.com/hahnlee/hwp-rs), licensed under Apache-2.0.
See fixtures/README.md.

================================================================================
Ported third-party code: kordoc (MIT)
================================================================================

crates/hwp-convert/src/form.rs (hwp slots --forms, hwp fill --forms) ports the
Korean form-field rules of kordoc (https://github.com/chrisryugj/kordoc): the
label keywords, the label-cell, inline-label, blank, checkbox and annotation
patterns, the key normalization and matching, and the field confidences and
merge rules. The port came by way of the kordoc_lite module of the Maru
project. kordoc is licensed under the MIT License:

    MIT License

    Copyright (c) 2026 chrisryugj

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
