Hwp2pdf
This console application converts HWP document into PDF document, using pyhwp tool and tinyXML2 Library
Install / Use
/learn @atsusta/Hwp2pdfREADME
hwp2pdf
This console application converts HWP document into PDF document, using pyhwp tool and tinyXML2 Library
System Architecture
INPUT OUTPUT #1 OUTPUT #2
------------ \---------/ ---------------- \---------/ ------------
| HWP | -> | pyhwp | -> | BodyText.xml | -> | xh2pdf| -> | PDF |
------------ /---------\ ---------------- /---------\ ------------
Structure of BodyText.xml
<BodyText>
└---<SectionDef>
└---<PageDef>
└---<FootnoteShape>
└---<PageBorderFill>
└---<Paragraph>
└---<LineSeg>
└---<ColumnsDef>
└---<Text>
└---<Image>
└---<ControlChar>
| Tag | Description | |---------------|-------------| | BodyText | whole contents of HWP document | | SectionDef | design properties of document page | | | (e.g. default tab stops, column spacing, hide header/footer, starting page number) | | PageDef | layout properties of document page | | FootnoteShape | note informations | | PageBorderFill| header and footer informations | | Paragraph | paragraph informations (parted as sentence) | | LineSeg | line segment informations (parted line by line) | | ColumnsDef | splitter informations | | Text | text contents | | Image | image contents | | ControlChar | character information for splitting paragraph |
Simple structure of PDF format
...
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
