GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — hwpx/THIRD_PARTY_NOTICES.md at main · imsebeom/hwpx

Expand file tree

/

THIRD_PARTY_NOTICES.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
258 lines (185 loc) · 16.4 KB
/

THIRD_PARTY_NOTICES.md

Copy path

File metadata and controls

258 lines (185 loc) · 16.4 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Third-Party Notices

이 스킬은 다음 오픈소스 프로젝트의 알고리즘과 아이디어를 참조·이식하여 사용합니다. 각 원저작자와 라이선스 전문을 아래에 명시합니다.


1. rhwp — HWPX/HWP Viewer and Editor (Rust + WebAssembly)

  • 저장소: https://github.com/edwardkim/rhwp
  • 저작권: Copyright (c) 2025-2026 Edward Kim
  • 라이선스: MIT License

에디터 모드에서의 사용 (2026-09-25)

editor/ 의 에디터 모드는 rhwp v0.8.6 의 rhwp-studio 와 WASM 엔진을 그대로 쓴다.

  • editor/setup.mjs 가 태그 판 저장소를 받아 사용자의 PC 에서 빌드한다. 빌드 산출물 (editor/studio-dist/, editor/sdk/, editor/.build/)은 저장소에 넣지 않는다.
  • editor/patches/*.rs 는 rhwp 소스를 고친 조각이다(쪽 번호 필드 저장, rhwp#7419 표 높이 수정 두 가지). 빌드 때 rhwp 소스에 적용된다. 이 조각에는 아래 MIT 라이선스가 적용된다.
  • editor/sdk/(빌드 때 rhwp npm/editor 에서 복사)와 스튜디오 번들의 저작권 고지는 rhwp 원본을 따른다.

참조·이식 범위

다음 알고리즘·패턴을 Python으로 재작성하여 본 스킬에 포함하였습니다. 이 절의 항목은 원본 소스 코드 자체를 포함하지 않으며, 설계 의도·상수·제어 흐름을 참고한 독립 구현입니다(에디터 모드의 사용은 위 절).

스킬 내 파일 참조한 rhwp 파일 이식 내용
scripts/table_calc.py src/document_core/table_calc/{tokenizer,parser,evaluator}.rs 3-layer 수식 엔진 (토크나이저/파서/평가기). SUM/AVG/MIN/MAX/COUNT/IF + 단항 수학 함수 + 셀 참조(A1, A1:B5, ?1, A?, above·below·left·right)
scripts/hwpx_helpers.py — local_name(), xpath_local() src/parser/hwpx/utils.rs:10-18 네임스페이스 prefix 무관 XPath 패턴
scripts/hwpx_helpers.py — utf16_len(), tab_aware_offset() src/parser/hwpx/section.rs:299-322 UTF-16 코드유닛 + 탭 8-unit 오프셋 규칙
scripts/hwpx_helpers.py — read_zip_entry_limited(), 상수 src/parser/hwpx/reader.rs:19-26 zip bomb 방어 상한 (XML 32MB / BinData 64MB)
scripts/verify_hwpx.py 동상 zip bomb 상한 체크 통합
scripts/hwpx_modifier.py — collect_all_fields() src/document_core/queries/field_query.rs + src/parser/hwpx/section.rs::parse_ctrl_field_begin <hp:fieldBegin> 파싱 패턴

라이선스 전문 (MIT License)

MIT License

Copyright (c) 2025-2026 Edward Kim

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.

2. jkf87/hwpx-skill

  • 저장소: https://github.com/jkf87/hwpx-skill
  • 역할: 본 스킬의 최초 기반(base fork). 이후 독자적으로 확장됨.
  • 변경 사항 요약: README.md 참조.
  • 추가 차용 (2026-06-16, jkf87 v1.0.5 기준): 아래 안전장치를 본 스킬 스타일(정규식 + lxml, 표준 라이브러리)로 재구현.
스킬 내 위치 참조한 jkf87 구현 재구현 내용
verify_hwpx.py detect_char_border_bug/strip_char_borders fill_hwpx.py 동명 함수 변환기/LLM이 charPr 다수에 SOLID 테두리 borderFill을 박는 "모든 글자 네모 테두리" 버그 탐지·제거 (표 셀 테두리 보존, idempotent)
verify_hwpx.py check_secpr_openable fill_hwpx.py check_openable 의 secPr 점검부 secPr 자식요소(pagePr/margin) 누락 + 가짜 secPr(비표준 속성) 휴리스틱 검출 — 한컴 '손상된 문서' 사고 방지

raw LLM 파일 탐지(detect_raw_llm)와 PreToolUse 가드 훅은 본 스킬의 더미 lineSegArray 주입 전략(polaris-dvc 통과용)과 상충하므로 의도적으로 미차용.

  • 추가 차용 (2026-09-08, jkf87 v1.17.0 기준): 코드는 가져오지 않았다. 기능 착안과 사실 대조에만 썼다.
스킬 내 위치 jkf87 쪽 우리가 한 것
scripts/add_equation.py · references/equation-syntax.md fill_hwpx.py add-equation · references/equation-syntax.md 수식 개체 삽입이라는 기능 착안만 차용. 봉투 구조는 실물 문항지(수학)에서 직접 추출하고, 토큰은 한컴 개봉·PDF 렌더로 우리가 검증해 적었다 (& 열 구분자, matrix 괄호 부재 두 함정은 우리 실측)
references/gaejosik-munche.md references/bogo-munche.md 통계를 옮기지 않고 우리 실물(교육청 공문 16건 494줄)을 직접 측정했다. jkf87 수치는 교차 검증용으로만 인용 (항목 중앙값 29 대 31로 근사)
templates/gonmun/ charPr 11 templates/gonmun2025/ 템플릿 XML은 복사하지 않았다(스타일 ID 체계가 다르다). 우리 official-doc-style.md 가 이미 규정으로 적어 둔 맑은 고딕 11.5pt를 기존 템플릿에 추가했을 뿐

줄간격은 따라가지 않았다. jkf87 은 실측으로 160%를 택했으나 우리가 보유한 시행문 1건은 굴림체 11pt·100% 였다. 표본이 부족해 어느 쪽도 표준으로 단정하지 않는다 (official-doc-style.md 실측 관찰 참조).

문서 유형 생성기(yoyak/geomto/gyehoek/bodojaryo), doc_spec.py, html2hwpx.py, rhwp WASM vendoring 은 이번에 차용하지 않았다.


3. PolarisOffice/polaris_dvc

  • 저장소: https://github.com/PolarisOffice/polaris_dvc
  • 역할: HWPX 검증 Rust CLI v0.1.0 prebuilt 바이너리 번들 (bin/polaris-dvc.exe).
  • 라이선스: 원본 저장소 LICENSE/NOTICE 참조 (별도 파일로 보관).
  • 사용: verify_hwpx.py --strict 가 외부 호출.

4. airmang/hwpx-skill

  • 저장소: https://github.com/airmang/hwpx-skill
  • 저작권: Copyright (c) 2026 airmang (고규현, python-hwpx 라이브러리 저자)
  • 라이선스: Apache License 2.0 (2026-04-24 MIT → Apache 재라이선싱)

참조·이식 범위

스킬 내 파일 참조한 airmang 파일 이식 내용
scripts/zip_replace_all.py 동명 파일 ZIP-level 전역 텍스트 치환 + mimetype ZIP_STORED 보존 + temp 파일 안전 처리 + --inplace --backup --auto-fix-ns 플래그 + <,>,</ 키 경고. 이식 시 inject_dummy_linesegs() 통합 (lineSegArray 더미 자동 주입) 추가.
references/python-hwpx-api.md references/api.md python-hwpx 2.x API 시그니처 (HwpxDocument, replace_text_in_runs, add_memo_with_anchor 등) 발췌 + 본 스킬 1.9 ↔ 2.x 마이그레이션 노트

원본 파일 자체에는 SPDX-License-Identifier 헤더가 보존돼 있고, 이식판에도 SPDX-License-Identifier: Apache-2.0 헤더와 출처 주석을 유지하였습니다.

라이선스 전문 (Apache-2.0)

전문은 https://www.apache.org/licenses/LICENSE-2.0 참조. 핵심 의무:

  1. 라이선스 사본 동봉 (본 파일에 이 섹션으로 갈음)
  2. 변경 사항 표시 (위 표의 "이식 내용" 컬럼)
  3. NOTICE 파일이 있으면 보존 (airmang 의 NOTICE 본문은 bin/airmang-NOTICE 등으로 별도 보관 권장)
  4. 보증 부인

5. Canine89/hwpxskill

  • 저장소: https://github.com/Canine89/hwpxskill
  • 저작권: Copyright (c) 2026 Canine89
  • 라이선스: 명시 없음 (저장소에 LICENSE 파일 미존재, 2026-05-05 기준)

참조·이식 범위

라이선스가 명시되지 않은 저장소이므로 원본 코드는 직접 복사하지 않았습니다. "레퍼런스 99% 복원 + 쪽수 가드" 워크플로 철학과 메트릭 비교 알고리즘만 참조하여 본 스킬 스타일 (xpath_local() 기반 네임스페이스 무관 XPath, 다중 섹션 순회, verify_hwpx 와 동일한 zip bomb 상한) 으로 독립 재구현했습니다.

스킬 내 파일 참조한 Canine89 파일 재구현 내용
scripts/page_guard.py scripts/page_guard.py 메트릭(문단·표 구조·pageBreak·텍스트 길이) 비교 + 임계값 기반 드리프트 검출 알고리즘. 본 스킬은 다중 섹션 순회·xpath_local·zip bomb 상한 추가
SKILL.md "워크플로우 O" 섹션 SKILL.md 의 "기본 동작 모드" + "쪽수 동일(100%) 필수 기준" 레퍼런스 보존 체크리스트 + page_guard 통합 흐름

라이선스 부재 시 권고

저장소에 LICENSE 가 추가되면 본 항목을 갱신하고 필요 시 의무 사항을 반영합니다. 원저작자가 다른 형태의 표기·수정·이식 중단을 요청하면 즉시 반영합니다.


6. Kminer2053/public-doc-to-hwpx

  • 저장소: https://github.com/Kminer2053/public-doc-to-hwpx
  • 저작권: Copyright (c) 2026 public-doc-to-hwpx contributors
  • 라이선스: MIT License

참조·이식 범위

스킬 내 파일 참조한 public-doc-to-hwpx 파일 이식 내용
references/writing-principles.md 동명 파일 공공기관 보고서 작성 원칙 (개조식·두괄식·Why→How→What·「적의를 보이는 것들」 4종) 전체 그대로 흡수. 상단에 출처 헤더 추가.
references/layout-rules.md 동명 파일 레이아웃 최적화 규칙 (한 문장 35–45자·페이지 걸침·글머리 위계·시각 스타일·12개 자동 변환 표) 전체 그대로 흡수. 상단에 출처 헤더 추가.
scripts/writing_optimizer.py references/layout-rules.md 8장 표 + 원본 SKILL.md layout_optimizer 동작 명세 정규식 12개 (R1·R3·R4·R5·R6a·R6b·R8·R12a·R12b 자동 + R2·R7·R9·R10·R11 검토 권장) 를 독립 재구현. 한국어 조사 받침 처리(이/가, 은/는, 을/를 자동 짝맞춤) 보강. 원본 소스 코드는 포함하지 않음 — 알고리즘·규칙 표·신뢰도 분류만 참조.
scripts/hwpx_helpers.py — remove_linesegarray_in_paragraphs_matching() scripts/fix_toc_dots.py::remove_linesegarray_from_dotted_paragraphs 목차 점선·자간 압축 단락의 lineseg 캐시 통째 제거 → 한글 폰트 메트릭 재계산 위임 패턴. predicate 인자로 일반화 (목차 점선·단일 lineseg 단락 등 다양한 트리거 조건 지원). inject_dummy_linesegs() 의 보완 관계 (빈 lineseg → 더미 주입 / 잘못된 lineseg → 통째 제거).

라이선스 전문 (MIT License)

MIT License

Copyright (c) 2026 public-doc-to-hwpx contributors

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.

7. chrisryugj/kordoc

  • 저장소: https://github.com/chrisryugj/kordoc
  • 저작권: Copyright (c) 2026 chrisryugj
  • 라이선스: MIT License

참조·이식 범위 (2026-09-28, kordoc v4.15.7 기준)

스킬 내 파일 참조한 kordoc 파일 이식 내용
scripts/gongmun_lint.py src/hwpx/gongmun-lint.ts 공문서 표기법 규칙(날짜, 시간, 금액, 붙임, 물결표와 까지, 외국어 병기, 쌍점, 금액 한글 병기, 물결표 띄어쓰기, 두음법칙, 외래어, 차별 표현, 「끝.」 누락)과 외래어, 순화어 사전을 파이썬 표준 라이브러리로 옮김. 길이가 바뀌는 뒤 보기는 일치 뒤 앞 글 검사로 바꿈. AI 문체 규칙 두 개(줄표, 굵게 남용)는 옮기지 않음. 규칙의 원전은 2절 jkf87/hwpx-skill 의 gonmun_lint.py 이다.
scripts/seal_hwpx.py src/form/seal.ts 도장 날인. 문구 위에 글 앞 그림(treatAsChar=0, flowWithText=0, allowOverlap=1)을 띄우는 방식, 글자 폭 어림(한글 1em, ASCII 0.5em), 정렬 이동, 앞 칸 폭 더하기, 이미지 형식 확인을 옮김. 한글 PDF 실측으로 고친 곳: 칸 문단은 세로를 표 위에서 재므로 앞 행 높이와 칸 위 여백을 더함, 저장된 줄 배치로 문구 줄을 찾음, 고정폭 빈칸 0.25em, 장평과 자간 반영, 쪽을 넘는 표 경고, 기본값을 문구 위 겹치기로.
scripts/chart_hwpx.py src/hwpx/chart-gen.ts 한글 네이티브 차트(Chart/chartN.xml 의 OOXML chartSpace, content.hpf 등록, 본문 hp:chart). 종류 20가지 표, 펜스 파싱, 계열 조립을 옮김. 원 3D 는 firstSliceAng 을 빼고 view3D 를 넣어야 한글이 그려 고쳤다. JSON, CSV 입력과 문구 뒤 삽입은 새로 넣음.

실행 때 kordoc 패키지나 네트워크를 쓰지 않는다. 같은 원고에 두 구현을 돌려 옮기지 않은 두 규칙 외에는 위반 건수가 같음을 확인했다(교육부 공문 1건 44건, 계획서 1건 7건).

kordoc 의 차트 조립과 종류 표, 날인 방식은 DoHyun468/claw-hwp(https://github.com/DoHyun468/claw-hwp, MIT License, Copyright (c) 2026 DoHyun468)의 hwpx-edit.js(buildChartSpace, opInsertChart, placeSeal)를 옮긴 것이다. 두 스크립트는 그 파생물이므로 claw-hwp 의 저작권도 함께 밝힌다(라이선스 문구는 아래 MIT 전문과 같고 저작권자만 다르다).

라이선스 전문 (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.

8. orioncactus/pretendard

  • 저장소: https://github.com/orioncactus/pretendard (v1.3.9)
  • 라이선스: SIL Open Font License 1.1, Copyright (c) 2021 Kil Hyung-jin, Reserved Font Name Pretendard
  • 사용: fonts/Pretendard-Regular.ttf, fonts/Pretendard-Bold.ttf 를 고치지 않고 동봉한다(2026-10-02). 라이선스 전문은 fonts/OFL.txt. 글꼴만 따로 팔지 않으며, 고친 판에는 Pretendard 라는 이름을 쓰지 않는다.

문의

추가 고지·수정 요청이 있으면 이슈로 알려주세요.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.