rust-pptx 0.1.0

Parse PowerPoint PPTX and legacy PPT presentations into a structured model
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# rust-pptx

by Extend

Parse PowerPoint presentations from bytes. The parser detects OOXML presentations and legacy PowerPoint binary presentations and returns a structured model of slides, shapes, text, charts, and embedded assets. Parsing limits bound input size, archive expansion, and XML complexity.

Install with `cargo add rust-pptx`. The Rust library target is named `rust_pptx`.

```rust
use rust_pptx::{parse_presentation, ParseError, ParseLimits, PresentationDocument};

fn parse(bytes: &[u8]) -> Result<PresentationDocument, ParseError> {
    parse_presentation(bytes, &ParseLimits::default())
}
```

The WebAssembly bindings are available as `rust-pptx-wasm`.