kordoc Copyright 2026 chrisryugj Licensed under the MIT License This project includes code derived from the following third-party works: ================================================================================ OpenDataLoader PDF (opendataloader-pdf) https://github.com/opendataloader-project/opendataloader-pdf Copyright 2025-2026 Hancom, Inc. Licensed under the Apache License, Version 2.0 Used in: - src/pdf/line-detector.ts — TableBorderBuilder algorithm (line-based table detection via PDF graphics commands, grid construction from line intersections) - src/pdf/cluster-detector.ts — ClusterTableConsumer algorithm (cluster-based borderless table detection via text alignment patterns) Modifications: - TypeScript rewrite from Java/Kotlin - pdfjs-dist v4/v5 compatibility layer - Korean PDF-specific optimizations (character spacing, cell text merging) You may obtain a copy of the Apache License at: http://www.apache.org/licenses/LICENSE-2.0 ================================================================================ hml-equation-parser https://github.com/OpenBapul/hml-equation-parser Copyright 2018 Open Bapul Licensed under the Apache License, Version 2.0 Used in: - src/hwpx/equation.ts — hmlToLatex() (HULK-style HWPX equation script → LaTeX) derived from hulkEqParser.py and hulkReplaceMethod.py Modifications: - TypeScript rewrite from Python 3 - Inlined convertMap.json as TS constants - Graceful error handling so failed conversion drops the equation rather than leaking the HWP alt-text ("수식입니다") through the document See THIRD_PARTY/hml-equation-parser.LICENSE for the full license text. You may obtain a copy of the Apache License at: http://www.apache.org/licenses/LICENSE-2.0 ================================================================================ cfb (Compound File Binary) https://github.com/SheetJS/js-cfb Copyright 2013-present SheetJS LLC Licensed under the Apache License, Version 2.0 Used as a dependency for HWP 5.x OLE2 container parsing. No modifications — used as a bundled npm package. ================================================================================ PDF.js https://github.com/mozilla/pdf.js Copyright Mozilla Foundation Licensed under the Apache License, Version 2.0 Used in (rules and tables re-implemented so the PDF engine adapter yields the same text chunks, operator lists, metadata and link targets kordoc was tuned on): - src/pdf/ops.ts — operator-list numbering (OPS), image kinds, normalizeUnicode - src/pdf/hayro-text.ts — getTextContent text-chunk rules (gaps, line breaks, spaces) - src/pdf/bidi.ts — bidirectional text reordering (core/bidi.js), ported as is - src/pdf/hayro-meta.ts — PDF string decoding (PDFDocEncoding table, UTF-16/UTF-8 BOM), link target selection (parseDestDictionary, createValidAbsoluteUrl, recoverJsURL) - rust/hayro-pdf/src/shadow.rs — DeviceCMYK to sRGB polynomial (DeviceCmykCS); text-state arithmetic (TextState, getCurrentTextTransform, TJ spacing) for glyph positions in f64 Modifications: - TypeScript / Rust rewrite; only the parts kordoc reads You may obtain a copy of the Apache License at: http://www.apache.org/licenses/LICENSE-2.0 ================================================================================ hayro https://github.com/LaurenzV/hayro Copyright (c) The Hayro Authors Licensed under the Apache License, Version 2.0 OR the MIT License (Apache-2.0 is chosen) Used in: - src/pdf/hayro-pdf.wasm — rust/hayro-pdf (Rust code that runs hayro-interpret and hands kordoc page events, fonts, images, document info and links) compiled to wasm32 together with hayro and its dependencies. src/pdf/hayro.ts loads it. Modifications: - Built from a pinned git commit (rust/hayro-pdf/Cargo.toml): upstream main 61f50b42. No changes. Crate list, licenses and non-Apache license texts: THIRD_PARTY/hayro-pdf.txt (generated by rust/hayro-pdf/licenses.mjs). The Rust standard library (core, alloc; MIT OR Apache-2.0) is compiled in as well. You may obtain a copy of the Apache License at: http://www.apache.org/licenses/LICENSE-2.0 ================================================================================ JSZip https://github.com/Stuk/jszip Copyright 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, Antonio Afonso Dual-licensed under the MIT License OR GPL-3.0-or-later This project uses JSZip under the MIT License. Used for ZIP-based format parsing (HWPX, XLSX, DOCX). No modifications — used as an npm package. ================================================================================ rhwp https://github.com/edwardkim/rhwp Copyright edwardkim Licensed under the MIT License Used in: - src/hwp5/cfb-lenient.ts — LenientCfbReader algorithm (FAT/directory/mini-stream parsing for corrupted CFB containers) - src/hwp5/crypto.ts — Distribution document decryption algorithm (AES key extraction from MSVC LCG-scrambled payload) Modifications: - TypeScript rewrite from Rust - Added sector size validation, chain length limits, and cycle detection - Pure JS AES-128 ECB implementation (no native dependency) ================================================================================ Pix2Text — Mathematical Formula Detection & Recognition https://github.com/breezedeus/Pix2Text Copyright 2023-2024 breezedeus MFD (Mathematical Formula Detection): trained on Ultralytics YOLOv8 — MFD model weights themselves are distributed under MIT via the HuggingFace repository `breezedeus/pix2text-mfd`, but the underlying YOLOv8 architecture carries an AGPL-3.0 license from Ultralytics. Users distributing derivative works built on MFD outputs should review Ultralytics' licensing terms. MFR (Mathematical Formula Recognition): HuggingFace `breezedeus/pix2text-mfr`, MIT License. Used in: - src/pdf/formula/detector.ts — YOLOv8 letterbox preprocessing, NMS post-processing - src/pdf/formula/recognizer.ts — DeiT encoder + TrOCR decoder greedy decoding - src/pdf/formula/postprocess.ts — LaTeX output cleanup (derived from Pix2Text `latex_ocr.py` post_process) Models are downloaded at runtime from HuggingFace with SHA-256 verification. No model weights are redistributed with this package. Algorithm implementations are original TypeScript ports referencing the Pix2Text algorithm descriptions. You may obtain a copy of the MIT License at: https://opensource.org/licenses/MIT ================================================================================ PaddleOCR / PP-OCRv5 — Text Detection & Recognition Models https://github.com/PaddlePaddle/PaddleOCR Copyright PaddlePaddle Authors Licensed under the Apache License, Version 2.0 Model weights (ONNX conversions, downloaded at runtime with SHA-256 verification, not redistributed with this package): - PP-OCRv5_mobile_det (HuggingFace `PaddlePaddle/PP-OCRv5_mobile_det_onnx`) - korean_PP-OCRv5_mobile_rec + character dictionary (HuggingFace `PaddlePaddle/korean_PP-OCRv5_mobile_rec_onnx`) Used in: - src/ocr/engine.ts — DBNet det pre/post-processing (resize_long 960, thresh/ box_thresh/unclip per official inference.yml; DB unclip approximated with axis-aligned component boxes) + CTC greedy decoding, following the PaddleOCR inference operator specifications. Original TypeScript implementation. - src/ocr/models.ts — model specs + inference.yml character_dict parser You may obtain a copy of the Apache License 2.0 at: https://www.apache.org/licenses/LICENSE-2.0 ================================================================================ korean-handwriting-rec — Korean Handwriting Recognition Model (optional) https://github.com/VerifiedIdiot/korean-handwriting-rec Licensed under the Apache License, Version 2.0 (as stated by the model repository) Model weights (ONNX, downloaded at runtime only when needed, with SHA-256 verification, not redistributed with this package): - rec_korean_hw_v1.2.onnx (HuggingFace `Rebeccaaaaaaaa/korean-handwriting-rec` model/rec_korean_hw.onnx, pinned revision e28b61b77df91aa024f9bbf5af962289ad0a8fa8) and rec_korean_hw_v1.2.yml (same repository and revision, model/ppocrv5_korean_dict.yml) — when `ocrRec: "handwriting"` is selected - rec_korean_hw.onnx (same repository, model/rec_korean_hw.onnx, pinned revision bb4c2714cf6b05e5d13bfe22199d0e6d30866597) — v1.0, when the default or `ocrRec: "auto"` re-reads a handwritten page Fine-tuned from korean_PP-OCRv5_mobile_rec (PaddleOCR, above). v1.0 uses its character dictionary; v1.2's dictionary is the PP-OCRv5 Korean dictionary with two handwritten symbols (₩, 〃) appended. The base model, conversion tools and training data sources (AI Hub datasets) are described in the model repository README. No training data is redistributed with this package. Used in: - src/ocr/models.ts — model spec (OCR_HANDWRITING_REC_MODEL, OCR_HANDWRITING_REC_DICT, OCR_HANDWRITING_FALLBACK_REC_MODEL) You may obtain a copy of the Apache License 2.0 at: https://www.apache.org/licenses/LICENSE-2.0 ================================================================================ claw-hwp https://github.com/DoHyun468/claw-hwp Copyright (c) 2026 DoHyun468 Licensed under the MIT License Used in: - src/hwpx/chart-gen.ts — OOXML chartSpace 조립(buildChartSpace)·차트 타입 20종 테이블·계열/축/색 XML 생성을 hwpx-edit.js에서 TS로 이식 (한컴독스 GT 검증 구현) - src/form/seal.ts — 도장 부유 배치의 폰트 메트릭 위치 산정(전각/반각 em 폭, 정렬 이동 보정)과 부유 개체 속성 규칙(treatAsChar=0 + flowWithText=0 + allowOverlap=1)을 cell-patch.js placeSealInPlace에서 이식 - src/form/match.ts — secure-fill 포맷엔진과 require_occurrence 규칙 이식 - src/validate.ts — validate.py 의 실측 검사셋 이식 라이선스 전문: THIRD_PARTY/claw-hwp.LICENSE You may obtain a copy of the MIT License at: https://opensource.org/licenses/MIT ================================================================================ hwp-auto-docfit https://github.com/haijun93/hwp-auto-docfit Copyright (c) 2026 haijun93 (마포구청 공혁준) Licensed under the MIT License Used in: - src/hwpx/gongmun-lint.ts — 기간 대시·요일·"끝."/붙임 2타 규칙 착안, 공공언어 쉬운 말·맞춤법 낱말표와 조사 경계식 (document_rules.py·writing_aids.py·korean_proofread.py) - src/hwpx/paste-clean.ts — 생성형 AI 붙여넣기 흔적(보이지 않는 글자·† 인용 표시·이스케이프된 굵게) 정리 규칙 착안 (pasted_text.py) - src/hwpx/gongmun-typo.ts — 열거 뒤 '등'·'낱말 숫자,' 열거 묶음 빈칸 규칙 착안 - src/hwpx/number-lint.ts — 본문 수치 ↔ 표 수치 대조 범위·임계값 (number_check.py) - src/hwpx/level-styles.ts — 단계별 대표 서식 투표 임계값과 편차 검수 (style_unify.py·document_review.py) - src/roundtrip/integrity.ts — 패치 결과 다층 무결성 검사 착안 (fidelity/verify.py) Modifications: - TypeScript 재구현(규칙·임계값은 kordoc 코퍼스로 다시 확인), 한/글 COM 의존 없음 라이선스 전문: THIRD_PARTY/hwp-auto-docfit.LICENSE You may obtain a copy of the MIT License at: https://opensource.org/licenses/MIT ================================================================================ korean-report-hwpx https://github.com/UpstageAI/korean-report-hwpx Copyright (c) 2026 Upstage (작성 Mia, 윤승미) Licensed under the MIT License Used in: - src/hwpx/agency-styles.ts — 중앙행정기관별 서식 실측값(정책브리핑 보도자료 2,670건 집계: rules/·rules_report/· rules_report/_참고머리.json)을 scripts/build-agency-styles.mjs 로 옮긴 데이터. 계층값 보정 규칙(engine/compose.py·report.py)도 같다 - src/hwpx/gen-docframe.ts — 보도자료 담당 표 6칸 꼴과 칸 폭 비율 (engine/compose.py contact) Modifications: - 원천 JSON 을 그대로 싣지 않고 kordoc 이 쓰는 값(단계 글꼴·크기·2단계 부호·표 머리·라벨 칸 색·본문 방식)만 뽑았다. 연한 라벨 칸 바탕의 글자색은 검정으로 정했다(원천 기본은 흰색). 생성 엔진은 kordoc 자체 구현 라이선스 전문: THIRD_PARTY/korean-report-hwpx.LICENSE You may obtain a copy of the MIT License at: https://opensource.org/licenses/MIT ================================================================================ zxing-cpp (zxing-wasm 으로 배포) https://github.com/zxing-cpp/zxing-cpp https://github.com/Sec-ant/zxing-wasm Copyright 2016 Nu-book Inc. and ZXing authors (zxing-cpp) · Copyright (c) 2023 Ze-Zheng Wu (zxing-wasm) Licensed under the Apache License, Version 2.0 (zxing-cpp) · MIT License (zxing-wasm) Used in: - src/qr.ts — 그림 속 QR 코드 읽기(`qrCodes: true`). optional dependency `zxing-wasm` 을 켰을 때만 동적 import 로 불러오고, 패키지 안 wasm(zxing-wasm/reader/zxing_reader.wasm)을 넘겨 네트워크에 접근하지 않는다 Modifications: - 없음(코드를 싣지 않고 런타임 의존성으로만 쓴다) 라이선스 전문: THIRD_PARTY/apache-2.0.LICENSE ================================================================================ libheif · libde265 (libheif-js 로 배포) https://github.com/strukturag/libheif https://github.com/strukturag/libde265 https://github.com/catdad-experiments/libheif-js Copyright (c) struktur AG (libheif·libde265) · Copyright (c) Kiril Vatev (libheif-js) Licensed under the GNU Lesser General Public License v3.0 (libheif·libde265·libheif-js) Used in: - src/image/heic.ts — HEIC·HEIF 이미지 입력. 사용자가 `libheif-js` 를 설치했을 때만 동적 import 한다(optional peer dependency, kordoc 패키지에 포함하지도, 함께 설치하지도 않는다 — HEVC 는 특허가 걸린 코덱이라 필요한 사용자가 직접 설치한다) Modifications: - 없음(코드를 싣지 않고 런타임 의존성으로만 쓴다) You may obtain a copy of the Apache License at: http://www.apache.org/licenses/LICENSE-2.0 ================================================================================ quick-xml · memchr (rust/xml-flat 의 wasm 으로 배포) https://github.com/tafia/quick-xml https://github.com/BurntSushi/memchr Copyright (c) 2016 Johann Tuffe (quick-xml) · Copyright (c) 2015 Andrew Gallant (memchr) Licensed under the MIT License (quick-xml) · Unlicense OR MIT License (memchr — MIT 를 고른다) Used in: - src/xml/xml-flat-wasm.ts — rust/xml-flat(quick-xml 0.38 로 XML 을 읽는 Rust 코드)을 wasm32 로 빌드해 base64 로 실은 생성 파일. src/xml/dom.ts 가 이 wasm 으로 XML 을 읽는다. Rust 표준 라이브러리(core·alloc, MIT OR Apache-2.0)도 함께 컴파일된다 Modifications: - 없음(crates.io 배포본을 그대로 컴파일한다. 버전은 rust/xml-flat/Cargo.lock) 라이선스 전문: THIRD_PARTY/quick-xml.LICENSE · THIRD_PARTY/memchr.LICENSE You may obtain a copy of the MIT License at: https://opensource.org/licenses/MIT ================================================================================ schift-ko-pii-ax-v1 — Korean Person-Name and Address Tagger (optional) https://huggingface.co/schift-io/schift-ko-pii-ax-v1 Copyright Schift Inc. Licensed under the Schift License v2.0 (Apache License 2.0 base with a revenue threshold: an entity whose annual gross revenue exceeded USD 10,000,000 in its most recently completed fiscal year needs a commercial license for revenue-generating use; research, evaluation and non-profit use are always permitted). Fine-tuned from skt/A.X-Encoder-base (Apache License 2.0); the tokenizer files are copied unchanged from that repository. Model weights (ONNX int8 · 4-bit, tokenizer.json — downloaded at runtime only when the user turns the model on (`redact --model`, `use_model`, `loadPiiModel()`), pinned revision with SHA-256 verification, not redistributed with this package). Used in: - src/redact-model.ts — model specs, WordPiece tokenizer over tokenizer.json (original TypeScript implementation following the HuggingFace `tokenizers` WordPiece/BertPreTokenizer behaviour), 512-token windowing and BIOES span decoding - tests/fixtures/pii-wordpiece-parity.json — a 61-piece synthetic vocabulary with ids/offsets recorded from Python `tokenizers` 0.22.2 (no model data) Modifications: - 없음(가중치를 싣지 않고 켤 때만 받는다) License text: https://huggingface.co/schift-io/schift-ko-pii-ax-v1/blob/main/LICENSE ----- THIRD_PARTY/apache-2.0.LICENSE ----- Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "{}" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright {yyyy} {name of copyright owner} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ----- THIRD_PARTY/claw-hwp.LICENSE ----- MIT License Copyright (c) 2026 DoHyun468 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. ----- THIRD_PARTY/hayro-pdf.txt ----- hayro-pdf (src/pdf/hayro-pdf.wasm) 에 컴파일된 Rust 크레이트 — rust/hayro-pdf/licenses.mjs 가 만든다. 손으로 고치지 않는다. Apache-2.0 전문: THIRD_PARTY/apache-2.0.LICENSE. 그 밖의 라이선스 전문은 아래 각 크레이트 항목에 싣는다. hayro 의 고지(NOTICE.md): 일부 코드는 PDFBox·pdf.js·png crate(Apache-2.0)에서 옮겨 왔다 — 표준 글꼴 인코딩 표, 사전 키 목록, CalRGB·CalGray 변환, Flate 디코더, AES·MD5·SHA·RC4, PNG 예측기 디코딩. 크레이트 | 버전 | 라이선스(SPDX) | 고른 라이선스 | 저장소 adler2 | 2.0.1 | 0BSD OR MIT OR Apache-2.0 | Apache-2.0 | https://github.com/oyvindln/adler2 alloc-no-stdlib | 2.0.4 | BSD-3-Clause | BSD-3-Clause | https://github.com/dropbox/rust-alloc-no-stdlib alloc-stdlib | 0.2.4 | BSD-3-Clause | BSD-3-Clause | https://github.com/dropbox/rust-alloc-no-stdlib arrayvec | 0.7.8 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/bluss/arrayvec bitflags | 2.13.2 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/bitflags/bitflags brotli | 8.0.4 | BSD-3-Clause AND MIT | BSD-3-Clause AND MIT | https://github.com/dropbox/rust-brotli brotli-decompressor | 5.0.3 | BSD-3-Clause/MIT | BSD-3-Clause/MIT | https://github.com/dropbox/rust-brotli-decompressor bytemuck | 1.25.2 | Zlib OR Apache-2.0 OR MIT | Apache-2.0 | https://github.com/Lokathor/bytemuck euclid | 0.22.14 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/servo/euclid fearless_simd | 1.2.0 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/linebender/fearless_simd foldhash | 0.2.0 | Zlib | Zlib | https://github.com/orlp/foldhash font-types | 0.12.7 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/googlefonts/fontations hayro-ccitt | 0.5.0 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/LaurenzV/hayro hayro-cmap | 0.1.1 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/LaurenzV/hayro hayro-font | 0.5.0 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/LaurenzV/hayro hayro-interpret | 0.9.0 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/LaurenzV/hayro hayro-jbig2 | 0.4.0 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/LaurenzV/hayro hayro-jpeg2000 | 0.5.0 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/LaurenzV/hayro hayro-postscript | 0.2.0 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/LaurenzV/hayro hayro-syntax | 0.9.0 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/LaurenzV/hayro kurbo | 0.13.1 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/linebender/kurbo memchr | 2.8.3 | Unlicense OR MIT | Unlicense OR MIT | https://github.com/BurntSushi/memchr miniz_oxide | 0.8.9 | MIT OR Zlib OR Apache-2.0 | Apache-2.0 | https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide moxcms | 0.8.1 | BSD-3-Clause OR Apache-2.0 | Apache-2.0 | https://github.com/awxkee/moxcms.git num-traits | 0.2.19 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/rust-num/num-traits once_cell | 1.21.4 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/matklad/once_cell phf | 0.13.1 | MIT | MIT | https://github.com/rust-phf/rust-phf phf_shared | 0.13.1 | MIT | MIT | https://github.com/rust-phf/rust-phf polycool | 0.4.0 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/linebender/kurbo pxfm | 0.1.30 | BSD-3-Clause OR Apache-2.0 | Apache-2.0 | https://github.com/awxkee/pxfm read-fonts | 0.46.0 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/googlefonts/fontations rustc-hash | 2.1.3 | Apache-2.0 OR MIT | Apache-2.0 | https://github.com/rust-lang/rustc-hash siphasher | 1.0.4 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/jedisct1/rust-siphash skrifa | 0.49.0 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/googlefonts/fontations smallvec | 1.16.5 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/servo/rust-smallvec stable_deref_trait | 1.2.1 | MIT OR Apache-2.0 | Apache-2.0 | https://github.com/storyyeller/stable_deref_trait yoke | 0.8.4 | Unicode-3.0 | Unicode-3.0 | https://github.com/unicode-org/icu4x zerofrom | 0.1.8 | Unicode-3.0 | Unicode-3.0 | https://github.com/unicode-org/icu4x zlib-rs | 0.6.8 | Zlib | Zlib | https://github.com/trifectatechfoundation/zlib-rs zune-core | 0.5.3 | MIT OR Apache-2.0 OR Zlib | Apache-2.0 | https://github.com/etemesi254/zune-image zune-jpeg | 0.5.15 | MIT OR Apache-2.0 OR Zlib | Apache-2.0 | https://github.com/etemesi254/zune-image/tree/dev/crates/zune-jpeg ================================================================================ alloc-no-stdlib 2.0.4 — LICENSE ================================================================================ Copyright (c) 2016 Dropbox, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================================================ alloc-stdlib 0.2.4 — BSD-3-Clause: 크레이트에 전문이 없어 alloc-no-stdlib 2.0.4 항목의 전문을 따른다 ================================================================================ ================================================================================ brotli 8.0.4 — LICENSE.BSD-3-Clause ================================================================================ Copyright (c) 2016 Dropbox, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================================================ brotli 8.0.4 — LICENSE.MIT ================================================================================ Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. 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. ================================================================================ brotli-decompressor 5.0.3 — LICENSE ================================================================================ Copyright (c) 2016 Dropbox, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================================================ foldhash 0.2.0 — LICENSE ================================================================================ Copyright (c) 2024 Orson Peters This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. ================================================================================ memchr 2.8.3 — COPYING ================================================================================ This project is dual-licensed under the Unlicense and MIT licenses. You may use this code under the terms of either license. ================================================================================ memchr 2.8.3 — LICENSE-MIT ================================================================================ The MIT License (MIT) Copyright (c) 2015 Andrew Gallant 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. ================================================================================ phf 0.13.1 — LICENSE ================================================================================ The MIT License (MIT) Copyright (c) 2014-2022 Steven Fackler, Yuki Okushi 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. ================================================================================ phf_shared 0.13.1 — LICENSE ================================================================================ The MIT License (MIT) Copyright (c) 2014-2022 Steven Fackler, Yuki Okushi 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. ================================================================================ yoke 0.8.4 — LICENSE ================================================================================ UNICODE LICENSE V3 COPYRIGHT AND PERMISSION NOTICE Copyright © 2020-2024 Unicode, Inc. NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. Permission is hereby granted, free of charge, to any person obtaining a copy of data files and any associated documentation (the "Data Files") or software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that either (a) this copyright and permission notice appear with all copies of the Data Files or Software, or (b) this copyright and permission notice appear in associated Documentation. THE DATA FILES AND SOFTWARE ARE 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 OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. SPDX-License-Identifier: Unicode-3.0 — Portions of ICU4X may have been adapted from ICU4C and/or ICU4J. ICU 1.8.1 to ICU 57.1 © 1995-2016 International Business Machines Corporation and others. ================================================================================ zerofrom 0.1.8 — LICENSE ================================================================================ UNICODE LICENSE V3 COPYRIGHT AND PERMISSION NOTICE Copyright © 2020-2024 Unicode, Inc. NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. Permission is hereby granted, free of charge, to any person obtaining a copy of data files and any associated documentation (the "Data Files") or software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that either (a) this copyright and permission notice appear with all copies of the Data Files or Software, or (b) this copyright and permission notice appear in associated Documentation. THE DATA FILES AND SOFTWARE ARE 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 OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. SPDX-License-Identifier: Unicode-3.0 — Portions of ICU4X may have been adapted from ICU4C and/or ICU4J. ICU 1.8.1 to ICU 57.1 © 1995-2016 International Business Machines Corporation and others. ================================================================================ zlib-rs 0.6.8 — LICENSE ================================================================================ (C) 2024 Trifecta Tech Foundation This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. ----- THIRD_PARTY/hml-equation-parser.LICENSE ----- Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "{}" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright {yyyy} {name of copyright owner} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ----- THIRD_PARTY/hml-equation-parser.txt ----- hml-equation-parser Version: 0.1.2 (Python) Copyright 2018 Open Bapul (OpenBapul/hml-equation-parser) License: Apache License, Version 2.0 Source: https://github.com/OpenBapul/hml-equation-parser Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Full license text: hml-equation-parser.LICENSE --- Usage in kordoc: The HWPX equation script → LaTeX converter (src/hwpx/equation.ts) is derived from hml-equation-parser's hulkEqParser.py and hulkReplaceMethod.py modules. The algorithm was re-implemented in TypeScript with no material changes — the 5-pass rewrite (frac → rootOf → matrix → bar → brace), the bracket-matching helpers, and the three conversion maps (CONVERT_MAP, MIDDLE_CONVERT_MAP, BAR/MATRIX/BRACE_CONVERT_MAP) are faithful ports of the original Python. Modifications: - TypeScript rewrite from Python 3 - Inlined convertMap.json as TS constants (resolveJsonModule kept optional) - Added graceful fallback in the HWPX parser: if conversion throws, the equation is dropped instead of leaking the HWP alt-text ("수식입니다"). ----- THIRD_PARTY/korean-report-hwpx.LICENSE ----- MIT License Copyright (c) 2026 Upstage 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. ----- THIRD_PARTY/memchr.LICENSE ----- The MIT License (MIT) Copyright (c) 2015 Andrew Gallant 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. ----- THIRD_PARTY/opendataloader-pdf.txt ----- OpenDataLoader PDF Version: 2.2.0 Copyright 2025-2026 Hancom, Inc. License: Apache License, Version 2.0 Source: https://github.com/opendataloader-project/opendataloader-pdf Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --- Usage in kordoc: The PDF table border detection algorithm (src/pdf/line-detector.ts) is derived from OpenDataLoader PDF's TableBorderBuilder. The algorithm was re-implemented in TypeScript with modifications for pdfjs-dist compatibility and Korean document optimization. Modifications include: - TypeScript implementation (original: Java) - pdfjs-dist v4/v5 operator list parsing (original: Apache PDFBox) - Korean text gap merging within table cells - Adjacent grid merging for split table recovery - Coordinate clustering with configurable tolerances ----- THIRD_PARTY/pix2text.txt ----- Pix2Text — Open-source Python MFD + MFR toolkit https://github.com/breezedeus/Pix2Text MFD weights: https://huggingface.co/breezedeus/pix2text-mfd - Trained on Ultralytics YOLOv8 (AGPL-3.0 architecture) - Weights distributed under MIT on HuggingFace MFR weights: https://huggingface.co/breezedeus/pix2text-mfr - DeiT-based encoder + TrOCR-style decoder - MIT License kordoc uses these models via runtime HuggingFace download (SHA-256 verified). No model weights are redistributed. The TypeScript implementations in src/pdf/formula/ are original ports referencing Pix2Text's algorithm (YOLOv8 letterbox + NMS, DeiT preprocess + autoregressive greedy decode). Users who depend on MFD detection in a commercial or closed-source product should independently review Ultralytics' AGPL-3.0 terms for YOLOv8. ----- THIRD_PARTY/quick-xml.LICENSE ----- The MIT License (MIT) Copyright (c) 2016 Johann Tuffe 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. ----- THIRD_PARTY/rhwp-forms.txt ----- rhwp — 표준 기안문 서식 자산 (templates/) Copyright 2025-2026 Edward Kim License: MIT Source: https://github.com/edwardkim/rhwp 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. --- Usage in kordoc: templates/ 의 내장 표준 기안문 서식 2종(일반기안문_서식.hwpx, 간이기안문_서식.hwpx)과 예시값 JSON은 rhwp 저장소 tools/forms/ 의 누름틀(CLICK_HERE) 내장 서식 자산을 그대로 번들한 것이다. 서식의 원본 배치는 「행정 효율과 협업 촉진에 관한 규정 시행규칙」 별지 제1호서식(일반기안문)·별지 제2호서식(간이기안문) — 대한민국 법령 부속 서식으로, 서식 자체는 저작권 보호 대상이 아닌 공공 자료다. rhwp 는 이를 HWPX 누름틀 서식으로 구현했고, kordoc 은 그 구현물을 MIT 라이선스에 따라 재배포한다.