officemd_pptx
PPTX extraction helpers built on officemd_core. The crate emits shared OOXML IR for slides, notes,
comments, tables, and hyperlinks.
Features
- Slide order via
ppt/presentation.xml+ rels - Slide text and titles (placeholder-aware)
- DrawingML tables to IR tables with synthetic headers
- Slide notes extraction
- Slide comments with author mapping
- Hyperlink resolution via slide rels
Build
Rust usage
use HashSet;
use ;
let mut only_one = new;
only_one.insert;
let doc = extract_ir_with_options?;
Python usage
=
Cargo example
Tests
&&
Fixture note
tests/fixtures/sample.pptxis the sample fixture path for unit tests (fixture-based tests skip when missing).- Real-world PPTX files can be placed in
tests/data/*.pptx(crate local) or../../tests/data/*.pptx(repo root).