Skip to main content

Crate docx_review_core

Crate docx_review_core 

Source
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§

error
extractor
model
Public data model returned by docx-review-core.
parser
zip

Structs§

ExtractOptions

Enums§

TrackChangesMode

Functions§

extract
Extract a Document from any seekable DOCX reader using default options.
extract_from_bytes
Extract a Document from in-memory DOCX bytes using default options.
extract_from_bytes_with_opts
Extract a Document from in-memory DOCX bytes with explicit options.
extract_from_path
Extract a Document from a DOCX file path using default options.
extract_from_path_with_opts
Extract a Document from a DOCX file path with explicit options.
extract_with_opts
Extract a Document from any seekable DOCX reader with explicit options.