#office #pptx #ppt

msoffice_pptx

pptx file format deserializer

3 unstable releases

✓ Uses Rust 2018 edition

0.2.0 Jan 8, 2019
0.1.1 Jan 3, 2019
0.1.0 Dec 20, 2018
Download history 15/week @ 2018-12-26 27/week @ 2019-01-09

14 downloads per month

MIT license

155KB
4K SLoC

msoffice-pptx-rs

A library to deserialize pptx files in Rust.

Latest version Documentation

Overview

msoffice-pptx-rs is a low level deserializer for Microsoft's OfficeOpen XML pptx file format. It's still WIP, so expect API breaking changes. Expect a more detailed documentation later.

Simple usage

extern crate msoffice_pptx;

use msoffice_pptx::document::PPTXDocument;

pub fn main() {
  let document = PPTXDocument::from_file(Path::new("test.pptx")).unwrap();
  
  for (slide_path, slide) in &document.slide_map {
    // Do something with slides
  }
}

Dependencies

~5.5MB
~159K SLoC