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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.