repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/viewer/markdown/document/bodytext/list_header.rs
crates/hwp-core/src/viewer/markdown/document/bodytext/list_header.rs
//! ListHeader conversion to Markdown //! ListHeader๋ฅผ ๋งˆํฌ๋‹ค์šด์œผ๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ๋ชจ๋“ˆ //! //! ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 57 - ๋ณธ๋ฌธ์˜ ๋ฐ์ดํ„ฐ ๋ ˆ์ฝ”๋“œ, LIST_HEADER (HWPTAG_BEGIN + 56) //! Spec mapping: Table 57 - BodyText data records, LIST_HEADER (HWPTAG_BEGIN + 56) //! //! Note: ์‹ค์ œ ๋ณ€ํ™˜์€ convert_paragraph_to_markdown์—์„œ ์ฒ˜๋ฆฌ๋˜๋ฏ€๋กœ //! ์ด ๋ชจ๋“ˆ์€ ํ–ฅํ›„ ํ™•์žฅ์„ ์œ„ํ•ด ์ค€๋น„๋˜์—ˆ์Šต๋‹ˆ๋‹ค. //! Note:...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/viewer/markdown/document/bodytext/paragraph.rs
crates/hwp-core/src/viewer/markdown/document/bodytext/paragraph.rs
/// Paragraph conversion to Markdown /// ๋ฌธ๋‹จ์„ ๋งˆํฌ๋‹ค์šด์œผ๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ๋ชจ๋“ˆ /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 57 - ๋ณธ๋ฌธ์˜ ๋ฐ์ดํ„ฐ ๋ ˆ์ฝ”๋“œ /// Spec mapping: Table 57 - BodyText data records use crate::document::bodytext::CharShapeInfo; use crate::document::CharShape; use crate::document::{HwpDocument, Paragraph, ParagraphRecord}; use crate::viewer::markdown::c...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/viewer/markdown/document/bodytext/para_text.rs
crates/hwp-core/src/viewer/markdown/document/bodytext/para_text.rs
/// ParaText conversion to Markdown /// ParaText๋ฅผ ๋งˆํฌ๋‹ค์šด์œผ๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ๋ชจ๋“ˆ /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 57 - ๋ณธ๋ฌธ์˜ ๋ฐ์ดํ„ฐ ๋ ˆ์ฝ”๋“œ, PARA_TEXT (HWPTAG_BEGIN + 51) /// Spec mapping: Table 57 - BodyText data records, PARA_TEXT (HWPTAG_BEGIN + 51) use crate::document::bodytext::{CharShapeInfo, ControlChar, ControlCharPosition}; use crate::document::Ch...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/preview_image.rs
crates/hwp-core/src/document/preview_image.rs
/// PreviewImage ๊ตฌ์กฐ์ฒด / PreviewImage structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: 3.2.7 - ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์ด๋ฏธ์ง€ / Spec mapping: 3.2.7 - Preview image /// /// `PrvImage` ์ŠคํŠธ๋ฆผ์—๋Š” ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์ด๋ฏธ์ง€๊ฐ€ BMP ๋˜๋Š” GIF ํ˜•์‹์œผ๋กœ ์ €์žฅ๋ฉ๋‹ˆ๋‹ค. /// The `PrvImage` stream contains preview image stored as BMP or GIF format. use crate::error::HwpError; use base64::{engine::general_purpose:...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/preview_text.rs
crates/hwp-core/src/document/preview_text.rs
/// PreviewText ๊ตฌ์กฐ์ฒด / PreviewText structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: 3.2.6 - ๋ฏธ๋ฆฌ๋ณด๊ธฐ ํ…์ŠคํŠธ / Spec mapping: 3.2.6 - Preview text /// /// `PrvText` ์ŠคํŠธ๋ฆผ์—๋Š” ๋ฏธ๋ฆฌ๋ณด๊ธฐ ํ…์ŠคํŠธ๊ฐ€ ์œ ๋‹ˆ์ฝ”๋“œ ๋ฌธ์ž์—ด๋กœ ์ €์žฅ๋ฉ๋‹ˆ๋‹ค. /// The `PrvText` stream contains preview text stored as Unicode string. use crate::error::HwpError; use crate::types::decode_utf16le; use serde::{Deseri...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/xml_template.rs
crates/hwp-core/src/document/xml_template.rs
/// XmlTemplate ๊ตฌ์กฐ์ฒด / XmlTemplate structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: 3.2.10 - XML ํ…œํ”Œ๋ฆฟ / Spec mapping: 3.2.10 - XML Template /// /// `XMLTemplate` ์Šคํ† ๋ฆฌ์ง€์—๋Š” XML Template ์ •๋ณด๊ฐ€ ์ €์žฅ๋ฉ๋‹ˆ๋‹ค. /// The `XMLTemplate` storage contains XML Template information. use crate::cfb::CfbParser; use crate::error::HwpError; use crate::types::{decode_utf1...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/mod.rs
crates/hwp-core/src/document/mod.rs
pub mod bindata; pub mod bodytext; pub mod constants; pub mod docinfo; /// HWP Document structure /// /// This module defines the main document structure for HWP files. /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 2 - ์ „์ฒด ๊ตฌ์กฐ pub mod fileheader; pub mod preview_image; pub mod preview_text; pub mod scripts; pub mod summary_information; pub mod xm...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/summary_information.rs
crates/hwp-core/src/document/summary_information.rs
/// SummaryInformation ๊ตฌ์กฐ์ฒด / SummaryInformation structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: 3.2.4 - ๋ฌธ์„œ ์š”์•ฝ / Spec mapping: 3.2.4 - Document summary /// /// `\005HwpSummaryInformation` ์ŠคํŠธ๋ฆผ์—๋Š” ํ•œ๊ธ€ ๋ฉ”๋‰ด์˜ "ํŒŒ์ผ - ๋ฌธ์„œ ์ •๋ณด - ๋ฌธ์„œ ์š”์•ฝ"์—์„œ ์ž…๋ ฅํ•œ ๋‚ด์šฉ์ด ์ €์žฅ๋ฉ๋‹ˆ๋‹ค. /// The `\005HwpSummaryInformation` stream contains summary information entered from HWP menu "File - ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
true
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/constants.rs
crates/hwp-core/src/document/constants.rs
/// ๊ณตํ†ต ํƒœ๊ทธ ์ƒ์ˆ˜ ์ •์˜ / Common tag constants definition /// /// HWPTAG_BEGIN = 0x10 (ํ•œ๊ธ€ ๋‚ด๋ถ€ ์‚ฌ์šฉ์„ ์œ„ํ•ด ์˜ˆ์•ฝ๋œ ์˜์—ญ์˜ ์‹œ์ž‘) / HWPTAG_BEGIN = 0x10 (start of reserved area for HWP internal use) /// ๋ฐ์ดํ„ฐ ๋ ˆ์ฝ”๋“œ ์‹œ์ž‘ ๊ฐ’ / Data record start value pub const HWPTAG_BEGIN: u16 = 0x10;
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/scripts/script_version.rs
crates/hwp-core/src/document/scripts/script_version.rs
/// ScriptVersion ๊ตฌ์กฐ์ฒด / ScriptVersion structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 8 - ์Šคํฌ๋ฆฝํŠธ ๋ฒ„์ „ / Spec mapping: Table 8 - Script version use crate::error::HwpError; use crate::types::DWORD; use serde::{Deserialize, Serialize}; /// ์Šคํฌ๋ฆฝํŠธ ๋ฒ„์ „ / Script version #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ScriptVersion { ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/scripts/mod.rs
crates/hwp-core/src/document/scripts/mod.rs
/// Scripts parsing module /// /// This module handles parsing of HWP Scripts storage. /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: 3.2.9 - ์Šคํฌ๋ฆฝํŠธ / Spec mapping: 3.2.9 - Scripts mod script; mod script_version; pub use script::Script; pub use script_version::ScriptVersion; use crate::cfb::CfbParser; use crate::error::HwpError; use serde::{Deseri...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/scripts/script.rs
crates/hwp-core/src/document/scripts/script.rs
/// Script ๊ตฌ์กฐ์ฒด / Script structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 9 - ์Šคํฌ๋ฆฝํŠธ / Spec mapping: Table 9 - Script use crate::error::HwpError; use crate::types::{decode_utf16le, DWORD}; use serde::{Deserialize, Serialize}; /// ์Šคํฌ๋ฆฝํŠธ / Script #[derive(Debug, Clone, Serialize, Deserialize)] pub struct Script { /// ์Šคํฌ๋ฆฝํŠธ ํ—ค๋” / Script head...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/track_change.rs
crates/hwp-core/src/document/docinfo/track_change.rs
/// TrackChange ๊ตฌ์กฐ์ฒด / TrackChange structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 4 - ๋ณ€๊ฒฝ ์ถ”์  ์ •๋ณด / Spec mapping: Table 4 - Track change information /// ์ƒ์„ธ ๊ตฌ์กฐ๋Š” ์ŠคํŽ™ ๋ฌธ์„œ์— ๋ช…์‹œ๋˜์ง€ ์•Š์Œ / Detailed structure not specified in spec use crate::error::HwpError; use serde::{Deserialize, Serialize}; /// ๋ณ€๊ฒฝ ์ถ”์  ์ •๋ณด / Track change information #[derive(Debug, C...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/track_change_author.rs
crates/hwp-core/src/document/docinfo/track_change_author.rs
/// TrackChangeAuthor ๊ตฌ์กฐ์ฒด / TrackChangeAuthor structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 4 - ๋ณ€๊ฒฝ ์ถ”์  ์ž‘์„ฑ์ž / Spec mapping: Table 4 - Track change author /// ์ƒ์„ธ ๊ตฌ์กฐ๋Š” ์ŠคํŽ™ ๋ฌธ์„œ์— ๋ช…์‹œ๋˜์ง€ ์•Š์Œ / Detailed structure not specified in spec use crate::error::HwpError; use serde::{Deserialize, Serialize}; /// ๋ณ€๊ฒฝ ์ถ”์  ์ž‘์„ฑ์ž / Track change author #[derive(Debu...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/id_mappings.rs
crates/hwp-core/src/document/docinfo/id_mappings.rs
/// ID Mappings ๊ตฌ์กฐ์ฒด / ID Mappings structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 15 - ์•„์ด๋”” ๋งคํ•‘ ํ—ค๋” / Spec mapping: Table 15 - ID mappings header /// Tag ID: HWPTAG_ID_MAPPINGS /// ์ „์ฒด ๊ธธ์ด: 72 ๋ฐ”์ดํŠธ (18๊ฐœ INT32) / Total length: 72 bytes (18 INT32 values) use crate::error::HwpError; use crate::types::INT32; use serde::{Deserialize, Serialize}; ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/document_properties.rs
crates/hwp-core/src/document/docinfo/document_properties.rs
/// Document Properties ๊ตฌ์กฐ์ฒด / Document Properties structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 14 - ๋ฌธ์„œ ์†์„ฑ / Spec mapping: Table 14 - Document properties /// Tag ID: HWPTAG_DOCUMENT_PROPERTIES /// ์ „์ฒด ๊ธธ์ด: 26 ๋ฐ”์ดํŠธ / Total length: 26 bytes use crate::error::HwpError; use crate::types::{UINT16, UINT32}; use serde::{Deserialize, Serialize};...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/tab_def.rs
crates/hwp-core/src/document/docinfo/tab_def.rs
/// Tab Definition ๊ตฌ์กฐ์ฒด / Tab Definition structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 36 - ํƒญ ์ •์˜ / Spec mapping: Table 36 - Tab definition /// Tag ID: HWPTAG_TAB_DEF /// ์ „์ฒด ๊ธธ์ด: ๊ฐ€๋ณ€ (8 + 8ร—count ๋ฐ”์ดํŠธ) / Total length: variable (8 + 8ร—count bytes) use crate::error::HwpError; use crate::types::{HWPUNIT, INT16, UINT32, UINT8}; use serde::{Des...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/char_shape.rs
crates/hwp-core/src/document/docinfo/char_shape.rs
/// Character Shape ๊ตฌ์กฐ์ฒด / Character Shape structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 33 - ๊ธ€์ž ๋ชจ์–‘ / Spec mapping: Table 33 - Character shape /// Tag ID: HWPTAG_CHAR_SHAPE /// ์ „์ฒด ๊ธธ์ด: 72 ๋ฐ”์ดํŠธ / Total length: 72 bytes use crate::error::HwpError; use crate::types::{COLORREF, INT32, INT8, UINT16, UINT32, UINT8, WORD}; use serde::{Deseriali...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/border_fill.rs
crates/hwp-core/src/document/docinfo/border_fill.rs
/// Border/Fill ๊ตฌ์กฐ์ฒด / Border/Fill structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 23 - ํ…Œ๋‘๋ฆฌ/๋ฐฐ๊ฒฝ ์†์„ฑ / Spec mapping: Table 23 - Border/fill properties /// Tag ID: HWPTAG_BORDER_FILL use crate::error::HwpError; use crate::types::{BYTE, COLORREF, INT16, INT32, UINT, UINT16, UINT8}; use serde::{Deserialize, Serialize}; /// ํ…Œ๋‘๋ฆฌ์„  ์ •๋ณด / Border li...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/face_name.rs
crates/hwp-core/src/document/docinfo/face_name.rs
/// Face Name (Font) ๊ตฌ์กฐ์ฒด / Face Name (Font) structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 19 - ๊ธ€๊ผด / Spec mapping: Table 19 - Font /// Tag ID: HWPTAG_FACE_NAME use crate::error::HwpError; use crate::types::{decode_utf16le, BYTE, WORD}; use serde::{Deserialize, Serialize}; /// ๊ธ€๊ผด ์†์„ฑ ํ”Œ๋ž˜๊ทธ / Font attribute flags mod flags { /// ๋Œ€์ฒด ๊ธ€๊ผด ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/memo_shape.rs
crates/hwp-core/src/document/docinfo/memo_shape.rs
/// MemoShape ๊ตฌ์กฐ์ฒด / MemoShape structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 4 - ๋ฉ”๋ชจ ๋ชจ์–‘ / Spec mapping: Table 4 - Memo shape /// ์ƒ์„ธ ๊ตฌ์กฐ๋Š” ์ŠคํŽ™ ๋ฌธ์„œ์— ๋ช…์‹œ๋˜์ง€ ์•Š์Œ / Detailed structure not specified in spec use crate::error::HwpError; use serde::{Deserialize, Serialize}; /// ๋ฉ”๋ชจ ๋ชจ์–‘ / Memo shape #[derive(Debug, Clone, Serialize, Deserialize)] pub str...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/bullet.rs
crates/hwp-core/src/document/docinfo/bullet.rs
/// Bullet ๊ตฌ์กฐ์ฒด / Bullet structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 42 - ๊ธ€๋จธ๋ฆฌํ‘œ / Spec mapping: Table 42 - Bullet /// Tag ID: HWPTAG_BULLET /// ์ „์ฒด ๊ธธ์ด: 20๋ฐ”์ดํŠธ (ํ‘œ 42) ๋˜๋Š” ๊ฐ€๋ณ€ (๋ ˆ๊ฑฐ์‹œ ์ฝ”๋“œ ๊ธฐ์ค€) / Total length: 20 bytes (Table 42) or variable (legacy code) use crate::error::HwpError; use crate::types::{BYTE, HWPUNIT16, INT32, UINT32, WCHAR}; use s...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/track_change_content.rs
crates/hwp-core/src/document/docinfo/track_change_content.rs
/// TrackChangeContent ๊ตฌ์กฐ์ฒด / TrackChangeContent structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 4 - ๋ณ€๊ฒฝ ์ถ”์  ๋‚ด์šฉ ๋ฐ ๋ชจ์–‘ / Spec mapping: Table 4 - Track change content and shape /// ์ƒ์„ธ ๊ตฌ์กฐ๋Š” ์ŠคํŽ™ ๋ฌธ์„œ์— ๋ช…์‹œ๋˜์ง€ ์•Š์Œ / Detailed structure not specified in spec use crate::error::HwpError; use serde::{Deserialize, Serialize}; /// ๋ณ€๊ฒฝ ์ถ”์  ๋‚ด์šฉ ๋ฐ ๋ชจ์–‘ / Track change...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/distribute_doc_data.rs
crates/hwp-core/src/document/docinfo/distribute_doc_data.rs
/// DistributeDocData ๊ตฌ์กฐ์ฒด / DistributeDocData structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 53 - ๋ฐฐํฌ์šฉ ๋ฌธ์„œ ๋ฐ์ดํ„ฐ / Spec mapping: Table 53 - Distribution document data use crate::error::HwpError; use serde::{Deserialize, Serialize}; /// ๋ฐฐํฌ์šฉ ๋ฌธ์„œ ๋ฐ์ดํ„ฐ (ํ‘œ 53) / Distribution document data (Table 53) #[derive(Debug, Clone, Serialize, Deserialize)...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/bin_data.rs
crates/hwp-core/src/document/docinfo/bin_data.rs
/// BinData record structure /// /// This module handles parsing of HWPTAG_BIN_DATA records from DocInfo. /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 17 - ๋ฐ”์ด๋„ˆ๋ฆฌ ๋ฐ์ดํ„ฐ / Spec mapping: Table 17 - Binary data /// Tag ID: HWPTAG_BIN_DATA use crate::error::HwpError; use crate::types::{decode_utf16le, UINT16, WORD}; use serde::{Deserialize, Serialize}...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/compatible_document.rs
crates/hwp-core/src/document/docinfo/compatible_document.rs
/// CompatibleDocument ๊ตฌ์กฐ์ฒด / CompatibleDocument structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 54 - ํ˜ธํ™˜ ๋ฌธ์„œ / Spec mapping: Table 54 - Compatible document use crate::error::HwpError; use crate::types::UINT32; use serde::{Deserialize, Serialize}; /// ํ˜ธํ™˜ ๋ฌธ์„œ (ํ‘œ 54) / Compatible document (Table 54) #[derive(Debug, Clone, Serialize, Deserial...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/mod.rs
crates/hwp-core/src/document/docinfo/mod.rs
/// DocInfo parsing module /// /// This module handles parsing of HWP DocInfo stream. /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 2 - ๋ฌธ์„œ ์ •๋ณด (DocInfo ์ŠคํŠธ๋ฆผ) / Spec mapping: Table 2 - Document information (DocInfo stream) pub mod bin_data; pub mod border_fill; pub mod bullet; pub mod char_shape; pub mod compatible_document; pub mod constants; pub...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/style.rs
crates/hwp-core/src/document/docinfo/style.rs
/// Style ๊ตฌ์กฐ์ฒด / Style structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 47 - ์Šคํƒ€์ผ / Spec mapping: Table 47 - Style /// Tag ID: HWPTAG_STYLE /// ์ „์ฒด ๊ธธ์ด: ๊ฐ€๋ณ€ (12 + 2ร—len1 + 2ร—len2 ๋ฐ”์ดํŠธ) / Total length: variable (12 + 2ร—len1 + 2ร—len2 bytes) use crate::error::HwpError; use crate::types::{decode_utf16le, BYTE, INT16, UINT16, WORD}; use serde::{Des...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/numbering.rs
crates/hwp-core/src/document/docinfo/numbering.rs
/// Numbering ๊ตฌ์กฐ์ฒด / Numbering structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 38 - ๋ฌธ๋‹จ ๋ฒˆํ˜ธ / Spec mapping: Table 38 - Paragraph numbering /// Tag ID: HWPTAG_NUMBERING /// ์ „์ฒด ๊ธธ์ด: ๊ฐ€๋ณ€ / Total length: variable use crate::error::HwpError; use crate::types::{decode_utf16le, HWPUNIT16, UINT16, UINT32, WORD}; use serde::{Deserialize, Serialize}; ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/constants.rs
crates/hwp-core/src/document/docinfo/constants.rs
/// DocInfo ํƒœ๊ทธ ์ƒ์ˆ˜ ์ •์˜ / DocInfo tag constants definition /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 13 - ๋ฌธ์„œ ์ •๋ณด์˜ ๋ฐ์ดํ„ฐ ๋ ˆ์ฝ”๋“œ / Spec mapping: Table 13 - Document information data records use crate::document::constants::HWPTAG_BEGIN; /// DocInfo ํƒœ๊ทธ ์ƒ์ˆ˜ / DocInfo tag constants pub struct HwpTag; impl HwpTag { /// ๋ฌธ์„œ ์†์„ฑ / Document properties ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/doc_data.rs
crates/hwp-core/src/document/docinfo/doc_data.rs
/// DocData ๊ตฌ์กฐ์ฒด / DocData structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 49 - ๋ฌธ์„œ ์ž„์˜์˜ ๋ฐ์ดํ„ฐ / Spec mapping: Table 49 - Document arbitrary data use crate::error::HwpError; use crate::types::{decode_utf16le, INT16, INT32, INT8, UINT16, UINT32, UINT8, WORD}; use serde::{Deserialize, Serialize}; /// ๋ฌธ์„œ ์ž„์˜์˜ ๋ฐ์ดํ„ฐ (ํ‘œ 49) / Document arbitrary dat...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/para_shape.rs
crates/hwp-core/src/document/docinfo/para_shape.rs
/// ParaShape ๊ตฌ์กฐ์ฒด / ParaShape structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 43 - ๋ฌธ๋‹จ ๋ชจ์–‘ / Spec mapping: Table 43 - Paragraph shape /// Tag ID: HWPTAG_PARA_SHAPE /// ์ „์ฒด ๊ธธ์ด: 54๋ฐ”์ดํŠธ / Total length: 54 bytes use crate::error::HwpError; use crate::types::{INT16, INT32, UINT16, UINT32, UINT8}; use serde::{Deserialize, Serialize}; /// ๋ฌธ๋‹จ ๋ชจ์–‘ ์†...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/layout_compatibility.rs
crates/hwp-core/src/document/docinfo/layout_compatibility.rs
/// LayoutCompatibility ๊ตฌ์กฐ์ฒด / LayoutCompatibility structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 56 - ๋ ˆ์ด์•„์›ƒ ํ˜ธํ™˜์„ฑ / Spec mapping: Table 56 - Layout compatibility use crate::error::HwpError; use crate::types::UINT32; use serde::{Deserialize, Serialize}; /// ๋ ˆ์ด์•„์›ƒ ํ˜ธํ™˜์„ฑ (ํ‘œ 56) / Layout compatibility (Table 56) #[derive(Debug, Clone, Serialize...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/docinfo/forbidden_char.rs
crates/hwp-core/src/document/docinfo/forbidden_char.rs
/// ForbiddenChar ๊ตฌ์กฐ์ฒด / ForbiddenChar structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 4 - ๊ธˆ์น™์ฒ˜๋ฆฌ ๋ฌธ์ž / Spec mapping: Table 4 - Forbidden character /// ์ƒ์„ธ ๊ตฌ์กฐ๋Š” ์ŠคํŽ™ ๋ฌธ์„œ์— ๋ช…์‹œ๋˜์ง€ ์•Š์Œ / Detailed structure not specified in spec use crate::error::HwpError; use serde::{Deserialize, Serialize}; /// ๊ธˆ์น™์ฒ˜๋ฆฌ ๋ฌธ์ž / Forbidden character #[derive(Debug, Clone, Se...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/memo_list.rs
crates/hwp-core/src/document/bodytext/memo_list.rs
/// MemoList ๊ตฌ์กฐ์ฒด / MemoList structure /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ์ŠคํŽ™ ๋ฌธ์„œ์— ์ƒ์„ธ ๊ตฌ์กฐ๊ฐ€ ๋ช…์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์Œ / Spec document does not specify detailed structure /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— MEMO_LIST ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementation complete, but not tested with actual ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/eqedit.rs
crates/hwp-core/src/document/bodytext/eqedit.rs
/// EqEdit ๊ตฌ์กฐ์ฒด / EqEdit structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 105 - ์ˆ˜์‹ ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 105 - Equation editor object attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— EQEDIT ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementation complete, but not tested with ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/record_tree.rs
crates/hwp-core/src/document/bodytext/record_tree.rs
/// ๋ ˆ์ฝ”๋“œ ํŠธ๋ฆฌ ๊ตฌ์กฐ / Record tree structure /// /// HWP ๋ ˆ์ฝ”๋“œ๋Š” ๊ณ„์ธต ๊ตฌ์กฐ๋กœ ์ €์žฅ๋˜๋ฉฐ, ๋ ˆ๋ฒจ ์ •๋ณด๋ฅผ ํ†ตํ•ด ํŠธ๋ฆฌ ๊ตฌ์กฐ๋ฅผ ์žฌ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. /// HWP records are stored in a hierarchical structure, and the tree structure can be reconstructed using level information. use crate::error::HwpError; use crate::types::RecordHeader; /// ๋ ˆ์ฝ”๋“œ ํŠธ๋ฆฌ ๋…ธ๋“œ / Record tree node #[d...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/line_seg.rs
crates/hwp-core/src/document/bodytext/line_seg.rs
/// LineSegmentInfo ๊ตฌ์กฐ์ฒด / LineSegmentInfo structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 62 - ๋ฌธ๋‹จ์˜ ๋ ˆ์ด์•„์›ƒ / Spec mapping: Table 62 - Paragraph line segment /// ๊ฐ ํ•ญ๋ชฉ: 36๋ฐ”์ดํŠธ use crate::error::HwpError; use crate::types::{INT32, UINT32}; use serde::{Deserialize, Serialize}; /// ์ค„ ์„ธ๊ทธ๋จผํŠธ ํƒœ๊ทธ ํ”Œ๋ž˜๊ทธ / Line segment tag flags #[derive(Debug, Clone, S...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/char_shape.rs
crates/hwp-core/src/document/bodytext/char_shape.rs
/// CharShapeInfo ๊ตฌ์กฐ์ฒด / CharShapeInfo structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 61 - ๋ฌธ๋‹จ์˜ ๊ธ€์ž ๋ชจ์–‘ / Spec mapping: Table 61 - Paragraph character shape /// ๊ฐ ํ•ญ๋ชฉ: 8๋ฐ”์ดํŠธ use crate::error::HwpError; use crate::types::UINT32; use serde::{Deserialize, Serialize}; /// ๊ธ€์ž ๋ชจ์–‘ ์ •๋ณด / Character shape information #[derive(Debug, Clone, Serialize, ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/page_def.rs
crates/hwp-core/src/document/bodytext/page_def.rs
/// PageDef ๊ตฌ์กฐ์ฒด / PageDef structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 131 - ์šฉ์ง€ ์„ค์ • / Spec mapping: Table 131 - Page definition use crate::error::HwpError; use crate::types::{HWPUNIT, UINT32}; use serde::{Deserialize, Serialize}; /// ์šฉ์ง€ ์„ค์ • / Page definition #[derive(Debug, Clone, Serialize, Deserialize)] pub struct PageDef { /// ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/footnote_shape.rs
crates/hwp-core/src/document/bodytext/footnote_shape.rs
/// FootnoteShape ๊ตฌ์กฐ์ฒด / FootnoteShape structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 133 - ๊ฐ์ฃผ/๋ฏธ์ฃผ ๋ชจ์–‘ / Spec mapping: Table 133 - Footnote/endnote shape use crate::error::HwpError; use crate::types::{COLORREF, HWPUNIT16, UINT16, UINT32, UINT8, WCHAR}; use serde::{Deserialize, Serialize}; /// ๊ฐ์ฃผ/๋ฏธ์ฃผ ๋ชจ์–‘ / Footnote/endnote shape #[derive(De...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/memo_shape.rs
crates/hwp-core/src/document/bodytext/memo_shape.rs
/// MemoShape ๊ตฌ์กฐ์ฒด / MemoShape structure /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ์ŠคํŽ™ ๋ฌธ์„œ์— ์ƒ์„ธ ๊ตฌ์กฐ๊ฐ€ ๋ช…์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์Œ / Spec document does not specify detailed structure /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— MEMO_SHAPE ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementation complete, but not tested with actu...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/table.rs
crates/hwp-core/src/document/bodytext/table.rs
/// Table ๊ตฌ์กฐ์ฒด / Table structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 74 - ํ‘œ ๊ฐœ์ฒด / Spec mapping: Table 74 - Table object use crate::error::HwpError; use crate::types::{HWPUNIT, HWPUNIT16, UINT16, UINT32}; use serde::{Deserialize, Serialize}; use super::list_header::ListHeader; /// ํ‘œ ๊ฐœ์ฒด / Table object #[derive(Debug, Clone, Serialize, D...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/range_tag.rs
crates/hwp-core/src/document/bodytext/range_tag.rs
/// RangeTagInfo ๊ตฌ์กฐ์ฒด / RangeTagInfo structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 63 - ๋ฌธ๋‹จ์˜ ์˜์—ญ ํƒœ๊ทธ / Spec mapping: Table 63 - Paragraph range tag /// ๊ฐ ํ•ญ๋ชฉ: 12๋ฐ”์ดํŠธ use crate::error::HwpError; use crate::types::{UINT32, UINT8}; use serde::{Deserialize, Serialize}; /// ์˜์—ญ ํƒœ๊ทธ ์ •๋ณด / Range tag information #[derive(Debug, Clone, Serialize, Dese...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/page_border_fill.rs
crates/hwp-core/src/document/bodytext/page_border_fill.rs
/// PageBorderFill ๊ตฌ์กฐ์ฒด / PageBorderFill structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 135 - ์ชฝ ํ…Œ๋‘๋ฆฌ/๋ฐฐ๊ฒฝ / Spec mapping: Table 135 - Page border/fill use crate::error::HwpError; use crate::types::{HWPUNIT16, UINT16, UINT32}; use serde::{Deserialize, Serialize}; /// ์ชฝ ํ…Œ๋‘๋ฆฌ/๋ฐฐ๊ฒฝ / Page border/fill #[derive(Debug, Clone, Serialize, Deserialize...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/video_data.rs
crates/hwp-core/src/document/bodytext/video_data.rs
/// VideoData ๊ตฌ์กฐ์ฒด / VideoData structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 123 - ๋™์˜์ƒ ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 123 - Video object attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— VIDEO_DATA ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementation complete, but not tested with...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/mod.rs
crates/hwp-core/src/document/bodytext/mod.rs
mod char_shape; /// BodyText parsing module /// /// This module handles parsing of HWP BodyText storage. /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 2 - ๋ณธ๋ฌธ (BodyText ์Šคํ† ๋ฆฌ์ง€) pub mod constants; pub use constants::HwpTag; pub mod control_char; pub use control_char::{ControlChar, ControlCharPosition}; pub mod chart_data; pub mod ctrl_data; pub mod...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
true
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/list_header.rs
crates/hwp-core/src/document/bodytext/list_header.rs
/// ListHeader ๊ตฌ์กฐ์ฒด / ListHeader structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 65 - ๋ฌธ๋‹จ ๋ฆฌ์ŠคํŠธ ํ—ค๋” / Spec mapping: Table 65 - Paragraph list header use crate::error::HwpError; use crate::types::{INT16, UINT32}; use serde::{Deserialize, Serialize}; /// ๋ฌธ๋‹จ ๋ฆฌ์ŠคํŠธ ํ—ค๋” / Paragraph list header #[derive(Debug, Clone, Serialize, Deserialize)] pub str...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/constants.rs
crates/hwp-core/src/document/bodytext/constants.rs
/// BodyText ๋ ˆ์ฝ”๋“œ ํƒœ๊ทธ ์ƒ์ˆ˜ ์ •์˜ / BodyText record tag constants definition /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 57 - ๋ณธ๋ฌธ์˜ ๋ฐ์ดํ„ฐ ๋ ˆ์ฝ”๋“œ / Spec mapping: Table 57 - BodyText data records use crate::document::constants::HWPTAG_BEGIN; /// BodyText ํƒœ๊ทธ ์ƒ์ˆ˜ / BodyText tag constants pub struct HwpTag; impl HwpTag { /// ๋ฌธ๋‹จ ํ—ค๋” / Paragraph header pub...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_data.rs
crates/hwp-core/src/document/bodytext/ctrl_data.rs
/// CtrlData ๊ตฌ์กฐ์ฒด / CtrlData structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 66 - ์ปจํŠธ๋กค ์ž„์˜์˜ ๋ฐ์ดํ„ฐ / Spec mapping: Table 66 - Control arbitrary data /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— CTRL_DATA ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementation complete, but not tested with act...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/para_header.rs
crates/hwp-core/src/document/bodytext/para_header.rs
/// ParaHeader ๊ตฌ์กฐ์ฒด / ParaHeader structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 58 - ๋ฌธ๋‹จ ํ—ค๋” / Spec mapping: Table 58 - Paragraph header /// Tag ID: HWPTAG_PARA_HEADER /// ์ „์ฒด ๊ธธ์ด: 24๋ฐ”์ดํŠธ (5.0.3.2 ์ด์ƒ) / Total length: 24 bytes (5.0.3.2 and above) /// /// **๋ ˆ๋ฒจ๋ณ„ ์‚ฌ์šฉ / Usage by Level** /// /// - **Level 0**: ๋ณธ๋ฌธ์˜ ๋ฌธ๋‹จ ํ—ค๋” (์ผ๋ฐ˜์ ์ธ ์‚ฌ์šฉ) / Paragraph header...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/control_char.rs
crates/hwp-core/src/document/bodytext/control_char.rs
/// Control character constants based on HWP 5.0 Specification Table 6 /// HWP 5.0 ์ŠคํŽ™ ํ‘œ 6 ๊ธฐ๋ฐ˜ ์ œ์–ด ๋ฌธ์ž ์ƒ์ˆ˜ /// /// ํ‘œ 6: ์ œ์–ด ๋ฌธ์ž / Table 6: Control characters use crate::error::HwpError; use serde::{Deserialize, Serialize}; pub struct ControlChar; /// ์ œ์–ด ๋ฌธ์ž ์œ„์น˜ ์ •๋ณด / Control character position information /// /// ๋ฌธ๋‹จ ํ…์ŠคํŠธ ๋‚ด์—์„œ ์ œ์–ด...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/form_object.rs
crates/hwp-core/src/document/bodytext/form_object.rs
/// FormObject ๊ตฌ์กฐ์ฒด / FormObject structure /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ์ŠคํŽ™ ๋ฌธ์„œ์— ์ƒ์„ธ ๊ตฌ์กฐ๊ฐ€ ๋ช…์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์Œ / Spec document does not specify detailed structure /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— FORM_OBJECT ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementation complete, but not tested with a...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/chart_data.rs
crates/hwp-core/src/document/bodytext/chart_data.rs
/// ChartData ๊ตฌ์กฐ์ฒด / ChartData structure /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ์ŠคํŽ™ ๋ฌธ์„œ์— ์ƒ์„ธ ๊ตฌ์กฐ๊ฐ€ ๋ช…์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์Œ / Spec document does not specify detailed structure /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— CHART_DATA ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementation complete, but not tested with actu...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/ole.rs
crates/hwp-core/src/document/bodytext/shape_component/ole.rs
/// ShapeComponentOle ๊ตฌ์กฐ์ฒด / ShapeComponentOle structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 118 - OLE ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 118 - OLE shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_OLE ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementati...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/picture.rs
crates/hwp-core/src/document/bodytext/shape_component/picture.rs
/// ShapeComponentPicture ๊ตฌ์กฐ์ฒด / ShapeComponentPicture structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 107 - ๊ทธ๋ฆผ ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 107 - Picture shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_PICTURE ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ ///...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/unknown.rs
crates/hwp-core/src/document/bodytext/shape_component/unknown.rs
/// ShapeComponentUnknown ๊ตฌ์กฐ์ฒด / ShapeComponentUnknown structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 57 - Unknown (36๋ฐ”์ดํŠธ) / Spec mapping: Table 57 - Unknown (36 bytes) /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ์ŠคํŽ™ ๋ฌธ์„œ์— ์ƒ์„ธ ๊ตฌ์กฐ๊ฐ€ ๋ช…์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์Œ / Spec document does not specify detailed structure /// - ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/textart.rs
crates/hwp-core/src/document/bodytext/shape_component/textart.rs
/// ShapeComponentTextArt ๊ตฌ์กฐ์ฒด / ShapeComponentTextArt structure /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ์ŠคํŽ™ ๋ฌธ์„œ์— ์ƒ์„ธ ๊ตฌ์กฐ๊ฐ€ ๋ช…์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์Œ / Spec document does not specify detailed structure /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_TEXTART ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementati...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/container.rs
crates/hwp-core/src/document/bodytext/shape_component/container.rs
/// ShapeComponentContainer ๊ตฌ์กฐ์ฒด / ShapeComponentContainer structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 121 - ๋ฌถ์Œ ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 121 - Container shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_CONTAINER ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/rectangle.rs
crates/hwp-core/src/document/bodytext/shape_component/rectangle.rs
/// ShapeComponentRectangle ๊ตฌ์กฐ์ฒด / ShapeComponentRectangle structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 94 - ์‚ฌ๊ฐํ˜• ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 94 - Rectangle shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_RECTANGLE ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/curve.rs
crates/hwp-core/src/document/bodytext/shape_component/curve.rs
/// ShapeComponentCurve ๊ตฌ์กฐ์ฒด / ShapeComponentCurve structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 103 - ๊ณก์„  ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 103 - Curve shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_CURVE ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Imple...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/polygon.rs
crates/hwp-core/src/document/bodytext/shape_component/polygon.rs
/// ShapeComponentPolygon ๊ตฌ์กฐ์ฒด / ShapeComponentPolygon structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 99 - ๋‹ค๊ฐํ˜• ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 99 - Polygon shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_POLYGON ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/mod.rs
crates/hwp-core/src/document/bodytext/shape_component/mod.rs
mod common; mod arc; mod container; mod curve; mod ellipse; mod line; mod ole; mod picture; mod polygon; mod rectangle; mod textart; mod unknown; pub use common::ShapeComponent; pub use arc::ShapeComponentArc; pub use container::ShapeComponentContainer; pub use curve::ShapeComponentCurve; pub use ellipse::ShapeCompon...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/common.rs
crates/hwp-core/src/document/bodytext/shape_component/common.rs
/// ShapeComponent ๊ตฌ์กฐ์ฒด / ShapeComponent structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 82, 83 - ๊ฐœ์ฒด ์š”์†Œ ์†์„ฑ / Spec mapping: Table 82, 83 - Shape component attributes use crate::error::HwpError; use crate::types::{HWPUNIT16, INT32, UINT16, UINT32}; use serde::{Deserialize, Serialize}; /// ๊ฐœ์ฒด ์š”์†Œ / Shape component #[derive(Debug, Clone, Ser...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/line.rs
crates/hwp-core/src/document/bodytext/shape_component/line.rs
/// ShapeComponentLine ๊ตฌ์กฐ์ฒด / ShapeComponentLine structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 92 - ์„  ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 92 - Line shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_LINE ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementati...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/ellipse.rs
crates/hwp-core/src/document/bodytext/shape_component/ellipse.rs
/// ShapeComponentEllipse ๊ตฌ์กฐ์ฒด / ShapeComponentEllipse structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 96 - ํƒ€์› ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 96 - Ellipse shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_ELLIPSE ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// -...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/shape_component/arc.rs
crates/hwp-core/src/document/bodytext/shape_component/arc.rs
/// ShapeComponentArc ๊ตฌ์กฐ์ฒด / ShapeComponentArc structure /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 101 - ํ˜ธ ๊ฐœ์ฒด ์†์„ฑ / Spec mapping: Table 101 - Arc shape component attributes /// /// **๊ตฌํ˜„ ์ƒํƒœ / Implementation Status** /// - ๊ตฌํ˜„ ์™„๋ฃŒ / Implementation complete /// - ํ…Œ์ŠคํŠธ ํŒŒ์ผ(`noori.hwp`)์— SHAPE_COMPONENT_ARC ๋ ˆ์ฝ”๋“œ๊ฐ€ ์—†์–ด ์‹ค์ œ ํŒŒ์ผ๋กœ ํ…Œ์ŠคํŠธ๋˜์ง€ ์•Š์Œ /// - Implementation...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/field.rs
crates/hwp-core/src/document/bodytext/ctrl_header/field.rs
use crate::error::HwpError; use crate::types::decode_utf16le; use crate::types::{UINT16, UINT32, UINT8}; use super::types::CtrlHeaderData; /// ํ•„๋“œ ํŒŒ์‹ฑ (ํ‘œ 152) / Parse field (Table 152) pub(crate) fn parse_field(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 15 { return Err(HwpError::insu...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/object_common.rs
crates/hwp-core/src/document/bodytext/ctrl_header/object_common.rs
use crate::error::HwpError; use crate::types::decode_utf16le; use crate::types::{HWPUNIT, HWPUNIT16, INT32, SHWPUNIT, UINT16, UINT32}; use super::types::{ CtrlHeaderData, HorzRelTo, Margin, ObjectAttribute, ObjectCategory, ObjectHeightStandard, ObjectTextOption, ObjectTextPositionOption, ObjectWidthStandard, V...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/bookmark_marker.rs
crates/hwp-core/src/document/bodytext/ctrl_header/bookmark_marker.rs
use crate::error::HwpError; use crate::types::decode_utf16le; use crate::types::UINT16; use super::types::CtrlHeaderData; /// ์ฐพ์•„๋ณด๊ธฐ ํ‘œ์‹ ํŒŒ์‹ฑ (ํ‘œ 149) / Parse bookmark marker (Table 149) pub(crate) fn parse_bookmark_marker(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 6 { return Err(HwpErro...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/page_number_position.rs
crates/hwp-core/src/document/bodytext/ctrl_header/page_number_position.rs
use crate::error::HwpError; use crate::types::decode_utf16le; use crate::types::UINT32; use super::types::{CtrlHeaderData, PageNumberPosition, PageNumberPositionFlags}; /// ์ชฝ ๋ฒˆํ˜ธ ์œ„์น˜ ํŒŒ์‹ฑ (ํ‘œ 147) / Parse page number position (Table 147) pub(crate) fn parse_page_number_position(data: &[u8]) -> Result<CtrlHeaderData, HwpEr...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/footnote_endnote.rs
crates/hwp-core/src/document/bodytext/ctrl_header/footnote_endnote.rs
use crate::error::HwpError; use super::types::CtrlHeaderData; /// ๊ฐ์ฃผ/๋ฏธ์ฃผ ํŒŒ์‹ฑ (ํ‘œ 4.3.10.4) / Parse footnote/endnote (Table 4.3.10.4) pub(crate) fn parse_footnote_endnote(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 8 { return Err(HwpError::insufficient_data( "Footnote/endnot...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/hide.rs
crates/hwp-core/src/document/bodytext/ctrl_header/hide.rs
use crate::error::HwpError; use crate::types::UINT16; use super::types::CtrlHeaderData; /// ๊ฐ์ถ”๊ธฐ ํŒŒ์‹ฑ (ํ‘œ 145) / Parse hide (Table 145) pub(crate) fn parse_hide(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 2 { return Err(HwpError::insufficient_data("Hide", 2, data.len())); } let...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/header_footer.rs
crates/hwp-core/src/document/bodytext/ctrl_header/header_footer.rs
use crate::error::HwpError; use crate::types::{HWPUNIT, UINT32}; use super::types::{ApplyPage, CtrlHeaderData, HeaderFooterAttribute}; /// ๋จธ๋ฆฌ๋ง/๊ผฌ๋ฆฌ๋ง ํŒŒ์‹ฑ (ํ‘œ 140) / Parse header/footer (Table 140) pub(crate) fn parse_header_footer(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 4 { return Er...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/ids.rs
crates/hwp-core/src/document/bodytext/ctrl_header/ids.rs
/// ์ปจํŠธ๋กค ID ์ƒ์ˆ˜ ์ •์˜ / Control ID constants definition /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 127 - ๊ฐœ์ฒด ์ด์™ธ์˜ ์ปจํŠธ๋กค๊ณผ ์ปจํŠธ๋กค ID, ํ‘œ 128 - ํ•„๋“œ ์ปจํŠธ๋กค ID /// Spec mapping: Table 127 - Controls other than objects and Control IDs, Table 128 - Field Control IDs pub struct CtrlId; impl CtrlId { // ๊ฐœ์ฒด ์ปจํŠธ๋กค ID / Object Control IDs /// ํ…Œ์ด๋ธ” ์ปจํŠธ๋กค / Table cont...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/types.rs
crates/hwp-core/src/document/bodytext/ctrl_header/types.rs
use crate::types::{HWPUNIT, HWPUNIT16, INT32, INT8, SHWPUNIT, UINT16, UINT32, UINT8}; use serde::{Deserialize, Serialize}; /// ์ปจํŠธ๋กค ํ—ค๋” / Control header #[derive(Debug, Clone, Serialize, Deserialize)] pub struct CtrlHeader { /// ์ปจํŠธ๋กค ID (4๋ฐ”์ดํŠธ, ASCII ๋ฌธ์ž์—ด๋กœ ํ•ด์„ ๊ฐ€๋Šฅ) / Control ID (4 bytes, can be interpreted as ASCII strin...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/overlap.rs
crates/hwp-core/src/document/bodytext/ctrl_header/overlap.rs
use crate::error::HwpError; use crate::types::decode_utf16le; use crate::types::{INT8, UINT16, UINT32, UINT8}; use super::types::CtrlHeaderData; /// ๊ธ€์ž ๊ฒน์นจ ํŒŒ์‹ฑ (ํ‘œ 150) / Parse character overlap (Table 150) pub(crate) fn parse_overlap(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 10 { re...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/mod.rs
crates/hwp-core/src/document/bodytext/ctrl_header/mod.rs
// CtrlHeader parsing/types split into modules. mod ids; mod types; mod auto_number; mod bookmark_marker; mod caption; mod column_definition; mod comment; mod field; mod footnote_endnote; mod header_footer; mod hide; mod object_common; mod overlap; mod page_adjust; mod page_number_position; mod section_definition; pu...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/column_definition.rs
crates/hwp-core/src/document/bodytext/ctrl_header/column_definition.rs
use crate::error::HwpError; use crate::types::{HWPUNIT16, UINT16, UINT32, UINT8}; use super::types::{ColumnDefinitionAttribute, ColumnDirection, ColumnType, CtrlHeaderData}; /// ๋‹จ ์ •์˜ ํŒŒ์‹ฑ (ํ‘œ 138) / Parse column definition (Table 138) pub(crate) fn parse_column_definition(data: &[u8]) -> Result<CtrlHeaderData, HwpError>...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/page_adjust.rs
crates/hwp-core/src/document/bodytext/ctrl_header/page_adjust.rs
use crate::error::HwpError; use crate::types::UINT32; use super::types::CtrlHeaderData; /// ํ™€/์ง์ˆ˜ ์กฐ์ • ํŒŒ์‹ฑ (ํ‘œ 146) / Parse page adjustment (Table 146) pub(crate) fn parse_page_adjust(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 4 { return Err(HwpError::insufficient_data("Page adjust", 4,...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/auto_number.rs
crates/hwp-core/src/document/bodytext/ctrl_header/auto_number.rs
use crate::error::HwpError; use crate::types::decode_utf16le; use crate::types::{UINT16, UINT32}; use super::types::CtrlHeaderData; /// ์ž๋™๋ฒˆํ˜ธ ํŒŒ์‹ฑ (ํ‘œ 142) / Parse auto number (Table 142) pub(crate) fn parse_auto_number(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 12 { return Err(HwpErro...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/section_definition.rs
crates/hwp-core/src/document/bodytext/ctrl_header/section_definition.rs
use crate::error::HwpError; use crate::types::{HWPUNIT, HWPUNIT16, UINT16, UINT32}; use super::types::CtrlHeaderData; /// ๊ตฌ์—ญ ์ •์˜ ํŒŒ์‹ฑ (ํ‘œ 129) / Parse section definition (Table 129) pub(crate) fn parse_section_definition(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 24 { return Err(HwpErr...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/caption.rs
crates/hwp-core/src/document/bodytext/ctrl_header/caption.rs
use crate::error::HwpError; use crate::types::{HWPUNIT, HWPUNIT16, UINT32}; // keep use super::types::{Caption, CaptionAlign, CaptionVAlign}; /// LIST_HEADER ๋ ˆ์ฝ”๋“œ์—์„œ ์บก์…˜ ํŒŒ์‹ฑ (hwplib ๋ฐฉ์‹) / Parse caption from LIST_HEADER record (hwplib approach) pub fn parse_caption_from_list_header(data: &[u8]) -> Result<Option<Caption>, ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bodytext/ctrl_header/comment.rs
crates/hwp-core/src/document/bodytext/ctrl_header/comment.rs
use crate::error::HwpError; use crate::types::decode_utf16le; use crate::types::{UINT16, UINT32}; use super::types::CtrlHeaderData; /// ๋ง๋ง ํŒŒ์‹ฑ (ํ‘œ 151) / Parse comment (Table 151) pub(crate) fn parse_comment(data: &[u8]) -> Result<CtrlHeaderData, HwpError> { if data.len() < 18 { return Err(HwpError::insuffi...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/bindata/mod.rs
crates/hwp-core/src/document/bindata/mod.rs
/// BinData parsing module /// /// This module handles parsing of HWP BinData storage. /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 2 - ๋ฐ”์ด๋„ˆ๋ฆฌ ๋ฐ์ดํ„ฐ (BinData ์Šคํ† ๋ฆฌ์ง€) use crate::decompress::decompress_deflate; use crate::document::docinfo::BinDataRecord; use crate::error::HwpError; use crate::types::WORD; use base64::{engine::general_purpose::STANDAR...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/fileheader/serialize.rs
crates/hwp-core/src/document/fileheader/serialize.rs
use crate::types::DWORD; use serde::Serializer; use super::constants::{document_flags, license_flags}; /// Serialize version DWORD as "M.n.P.r" format string pub fn serialize_version<S>(version: &DWORD, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer, { serializer.serialize_str(&format_version(*...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/fileheader/mod.rs
crates/hwp-core/src/document/fileheader/mod.rs
/// FileHeader parsing module /// /// This module handles parsing of HWP FileHeader structure. /// According to HWP 5.0 spec, FileHeader is 256 bytes. /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 2 - ํŒŒ์ผ ์ธ์‹ ์ •๋ณด (FileHeader ์ŠคํŠธ๋ฆผ) use crate::error::HwpError; use crate::types::{BYTE, DWORD}; use serde::{Deserialize, Serialize}; mod constants; mod s...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/src/document/fileheader/constants.rs
crates/hwp-core/src/document/fileheader/constants.rs
/// Document flag constants /// /// ์ŠคํŽ™ ๋ฌธ์„œ ๋งคํ•‘: ํ‘œ 3 - ์†์„ฑ (์ฒซ ๋ฒˆ์งธ DWORD) pub mod document_flags { /// Bit 0: ์••์ถ• ์—ฌ๋ถ€ pub const COMPRESSED: &str = "compressed"; /// Bit 1: ์•”ํ˜ธ ์„ค์ • ์—ฌ๋ถ€ pub const ENCRYPTED: &str = "encrypted"; /// Bit 2: ๋ฐฐํฌ์šฉ ๋ฌธ์„œ ์—ฌ๋ถ€ pub const DISTRIBUTION: &str = "distribution"; /// Bit 3:...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/tests/parser_tests.rs
crates/hwp-core/tests/parser_tests.rs
/// HwpParser ํ…Œ์ŠคํŠธ /// HwpParser tests mod common; use hwp_core::*; #[test] fn test_hwp_parser_new() { let _parser = HwpParser::new(); } #[test] fn test_hwp_parser_parse_with_actual_file() { // Test with actual HWP file if available use crate::common::find_fixture_file; if let Some(path) = find_fi...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/tests/fileheader_tests.rs
crates/hwp-core/tests/fileheader_tests.rs
/// FileHeader ํŒŒ์‹ฑ ํ…Œ์ŠคํŠธ /// FileHeader parsing tests mod common; use hwp_core::*; #[test] fn test_fileheader_parse_basic() { // Create a minimal valid FileHeader let mut data = vec![0u8; 256]; // Set signature "HWP Document File" let signature = b"HWP Document File\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; dat...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/tests/common.rs
crates/hwp-core/tests/common.rs
/// ๊ณตํ†ต ํ…Œ์ŠคํŠธ ํ—ฌํผ ํ•จ์ˆ˜๋“ค /// Common test helper functions use std::path::PathBuf; /// Helper function to find test HWP files directory pub fn find_fixtures_dir() -> Option<PathBuf> { let manifest_dir = std::env::var("CARGO_MANIFEST_DIR") .ok() .map(PathBuf::from) .unwrap_or_else(|| std::path::Path...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/tests/cfb_tests.rs
crates/hwp-core/tests/cfb_tests.rs
/// CFB ํŒŒ์„œ ํ…Œ์ŠคํŠธ /// CFB parser tests mod common; use hwp_core::*; use std::fs; #[test] fn test_cfb_parse_basic() { // Test with actual HWP file from fixtures directory use crate::common::find_fixture_file; if let Some(path) = find_fixture_file("noori.hwp") { if let Ok(data) = fs::read(path) { ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/tests/decompress_tests.rs
crates/hwp-core/tests/decompress_tests.rs
/// ์••์ถ• ํ•ด์ œ ํ…Œ์ŠคํŠธ /// Decompression tests use hwp_core::*; #[test] fn test_decompress_zlib_basic() { // Create a simple test: compress "hello" using zlib format and then decompress it use flate2::write::ZlibEncoder; use flate2::Compression; use std::io::Write; let original = b"hello world"; let mu...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/crates/hwp-core/tests/snapshot_tests.rs
crates/hwp-core/tests/snapshot_tests.rs
/// ์Šค๋ƒ…์ƒท ํ…Œ์ŠคํŠธ /// Snapshot tests mod common; use common::*; use hwp_core::*; use hwp_core::document::ParagraphRecord; use insta::{assert_snapshot, with_settings}; // insta๊ฐ€ tests/snapshots ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก ์„ค์ •ํ•˜๋Š” ํ—ฌํผ ๋งคํฌ๋กœ macro_rules! assert_snapshot_with_path { ($name:expr, $value:expr) => { let manifest_dir = env!...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
true
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/packages/hwpjs/build.rs
packages/hwpjs/build.rs
fn main() { napi_build::setup(); }
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/packages/hwpjs/src/lib.rs
packages/hwpjs/src/lib.rs
#![deny(clippy::all)] use base64::{engine::general_purpose::STANDARD, Engine as _}; use hwp_core::HwpParser; use napi::bindgen_prelude::Buffer; use napi_derive::napi; /// Convert HWP file to JSON /// /// # Arguments /// * `data` - Byte array containing HWP file data (Buffer or Uint8Array) /// /// # Returns /// Parsed...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/packages/hwpjs/crates/lib/build.rs
packages/hwpjs/crates/lib/build.rs
fn main() { craby_build::setup(); }
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/packages/hwpjs/crates/lib/src/lib.rs
packages/hwpjs/crates/lib/src/lib.rs
#[rustfmt::skip] pub(crate) mod ffi; pub(crate) mod generated; pub(crate) mod hwpjs_impl;
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/packages/hwpjs/crates/lib/src/hwpjs_impl.rs
packages/hwpjs/crates/lib/src/hwpjs_impl.rs
use craby::{prelude::*, throw}; use crate::ffi::bridging::*; use crate::generated::*; use hwp_core::HwpParser; pub struct Hwpjs { ctx: Context, } #[craby_module] impl HwpjsSpec for Hwpjs { fn new(ctx: Context) -> Self { Self { ctx } } fn id(&self) -> usize { self.ctx.id } fn...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false
ohah/hwpjs
https://github.com/ohah/hwpjs/blob/19df26a209c6e780b4c3b03d2ab628209e1ae311/packages/hwpjs/crates/lib/src/ffi.rs
packages/hwpjs/crates/lib/src/ffi.rs
// Auto generated by Craby. DO NOT EDIT. #[rustfmt::skip] use craby::prelude::*; use crate::generated::*; use crate::hwpjs_impl::*; use bridging::*; #[cxx::bridge(namespace = "craby::hwpjs::bridging")] pub mod bridging { #[derive(Clone)] struct NullableString { null: bool, val: String, } ...
rust
MIT
19df26a209c6e780b4c3b03d2ab628209e1ae311
2026-01-04T20:24:59.575438Z
false