Overview of kordoc capabilities
mainkordoc is a document processing engine designed for official government-style documents. Key capabilities include:
- Document to Markdown Conversion: Converts
HWP3,HWP(5.x),HWPX,HWPML,PDF,XLS,XLSX,DOCX, and images (PNG/JPG/WebPvia OCR) into Markdown for LLM consumption. - Complex Table Reconstruction: Accurately restores complex or borderless tables (including comparison tables in legal PDFs) into Markdown tables.
- Document Comparison: Automatically generates comparison tables (신구대조표) between two documents (e.g., HWP vs HWPX).
- Markdown to HWPX: Converts AI-generated Markdown back into official
HWPXreport formats. - Government Standard Document Generation (v4.0+): Includes engines for 16 types of standard government forms and 60+ draft templates. Supports official numbering (e.g., 1. 가. 1) 가)...), layout rules, and
kordoc lintfor compliance. - Lossless Roundtrip (v3.0+): Using
patchHwpxorpatchHwp, you can edit Markdown and apply changes back to the original file without losing any original formatting (including adding/deleting rows in tables). - Layout Rendering (v3.10+): Renders original layouts as SVG using HWPX layout cache or a pure TypeScript reflow engine.
- Chart Generation (v3.16+): Converts Markdown
```chartfences into native HWP/OOXML charts (20+ types). - Automatic Sealing (v3.16+): Automatically places seal/signature PNGs near anchor text like
(인)or서명 또는 인usingkordoc seal. - Form Auto-filling: Automatically fills templates (applications, reports) while preserving 100% of original formatting.
- AI Agent Integration (MCP): Direct integration with
Claude Desktop,Cursor, andCodex.