Skip to main content

Crate rhwp

Crate rhwp 

Source
Expand description

rhwp — Rust HWP 뷰어/에디터

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

Re-exports§

pub use document_core::DocumentCore;
pub use document_core::PdfImportSession;
pub use error::HwpError;
pub use model::event::DocumentEvent;
pub use parser::parse_document;
pub use parser::parse_document_with_password;
pub use parser::DocumentParser;
pub use serializer::serialize_document;
pub use serializer::DocumentSerializer;
pub use rhwp_ooxml_chart as ooxml_chart;
pub use rhwp_password_crypto as password_crypto;

Modules§

agent
에이전트 문서 조작 커널 — 선택자·연산 대수·앵커·검증·트랜잭션의 단일 척추.
agent_seal
에이전트 전용 봉인(agent seal) — 사람 암호가 없는 완전 엔트로피 봉인과 정보이론적 일회용 패드(OTP) 봉인.
capabilities_schema
[#3776] export-capabilities-schema — capabilities 자체의 JSON Schema 를 기계 산출한다.
diagnostics
Diagnostic tooling for HWP/HWPX compatibility work.
docdiff
docdiff — 두 문서 IR 의 의미 차이를 계산하는 재사용 엔진.
doclang
DocLang 내보내기 — HWP 5.0 / HWPX 문서를 DocLang v0.6 XML 로 변환한다.
document_core
문서 핵심 도메인 모델
emf
EMF (Enhanced Metafile) 파서 + SVG 컨버터.
eps
Adobe Illustrator EPS(PostScript) 아트워크를 SVG 로 옮긴다.
error
도메인 에러 타입
ir_schema
[#3762] export-ir-schema — 공개 IR 의 JSON Schema 를 기계 산출한다.
model
HWP 문서의 중간 표현(IR) 데이터 모델
native_host
브라우저 없이 문서와 렌더러의 수명을 유지하는 opt-in host 계층.
ole_chart
HWP OLE Contents 기반 차트 파싱 골격.
ontology
[#3907 O1] export-ontology — 살아있는 자기서술에서 JSON-LD 온톨로지를 기계 유도한다.
paint
시각 레이어 IR 모듈
parser
HWP/HWPX 파일 파서 모듈
pdf_runtime
Shared finite transfer limits. These are not live-heap or execution-time caps.
pdf_support
Compile-time PDF support of this artifact, independent of document contents.
plan_schema
[#3719 §6-4] export-plan-schema — 계획서(rhwp run)의 JSON Schema 를 기계 산출한다.
pq_sign
양자내성 서명 — 작업캡슐·출처(provenance) 서명을 양자 이후에도 살리는 확장.
provenance
[#3787 S1] 봉투 출처 표지 — “이 값이 문서에서 왔는가“의 단일 출처.
rag
HWP/HWPX → LLM-ready RAG 출력 축.
render_backend
출력 백엔드 공통 계약 — RenderBackend.
renderer
렌더링 엔진 모듈
resource_supervisor
Experimental Native host supervision; request counters remain independent. Native request supervision. Counters in the PDF parser are independent of these process limits. Linux enforces AS/CPU; all hosts enforce wall/output caps. This is not a filesystem/network sandbox or a process-tree RSS limit.
scaffold
rhwp scaffold — 스펙(JSON) → 유효 HWPX 문서 생성.
schema_registry
공개 rhwp 제품의 스키마 레지스트리 파사드.
security_trailer
HWP3 보안 트레일러 — 유효한 HWP3 파일에 강암호 페이로드를 append 해, 순정 한컴에서는 정상 열람되고 rhwp 에서는 진짜 비밀을 복원하며, 어떤 상황에서도 에러 없이 정상화되는 구조.
serializer
HWP 문서 직렬화 모듈
service
서비스 연계 표면 — CLI·MCP·WASM 이 함께 서는 문서 열기·조회 축.
wasm_api
WASM ↔ JavaScript 공개 API
wmf

Functions§

init_panic_hook
WASM panic hook 초기화 (한 번만 실행)
version