Expand description
rofd-dom - pure OFD data model. No ZIP/XML deps.
Re-exports§
pub use annotation::*;pub use document::*;pub use ids::*;pub use object::*;pub use package::*;pub use page::*;pub use primitives::*;pub use raw::*;pub use resource::*;pub use selection::*;pub use signature::*;pub use warning::*;
Modules§
- annotation
- document
- ids
- Strongly-typed IDs. All OFD IDs are ST_ID (unsigned integer, GB/T 33190 表 2), held as integer strings. New annotation IDs are allocated from OfdDocument.max_unit_id + 1 (see editor::create_annotation), not uuid.
- object
- package
- The package a document came from, as plain data (spec 2026-11-11 D12, 2026-11-23 §7, §17.11).
- page
- primitives
- Plain value-type geometry/color primitives. No external math deps.
- raw
- Passthrough storage for unknown XML content (spec 2026-11-11 D3).
- resource
- selection
- Annotation selection model (object-level).
- signature
- Read-only projection of a package’s signatures (GB/T 33190 chapter 18, spec 2026-11-23 §8.1).
- warning
- Degraded-load warnings. Pure data model types (no ZIP/XML deps).