Expand description
Review-oriented DOCX extraction for Rust.
docx-review-core reads .docx files directly from OOXML and returns a
normalized Document model with structural blocks, tracked changes,
comments, and optional raw revision metadata.
The crate is intended for automation, review workflows, and downstream tooling that needs more than plain text extraction.
Re-exports§
pub use error::Error;pub use model::Block;pub use model::BlockId;pub use model::BlockKind;pub use model::ChangeId;pub use model::Comment;pub use model::CommentId;pub use model::DocMetadata;pub use model::Document;pub use model::RawRevisionIds;pub use model::SpanChangeKind;pub use model::SpanTrackedChange;pub use model::Story;pub use model::TextAnchor;pub use model::TextSpan;pub use model::TrackedChange;pub use model::TrackedChangeKind;
Modules§
Structs§
Enums§
Functions§
- extract
- Extract a
Documentfrom any seekable DOCX reader using default options. - extract_
from_ bytes - Extract a
Documentfrom in-memory DOCX bytes using default options. - extract_
from_ bytes_ with_ opts - Extract a
Documentfrom in-memory DOCX bytes with explicit options. - extract_
from_ path - Extract a
Documentfrom a DOCX file path using default options. - extract_
from_ path_ with_ opts - Extract a
Documentfrom a DOCX file path with explicit options. - extract_
with_ opts - Extract a
Documentfrom any seekable DOCX reader with explicit options.