Crates.io | msoffice_pptx |
lib.rs | msoffice_pptx |
version | 0.2.1 |
source | src |
created_at | 2018-12-20 09:07:34.313816 |
updated_at | 2019-05-15 13:57:36.944642 |
description | pptx file format deserializer |
homepage | https://github.com/dam4rus/msoffice-pptx-rs |
repository | https://github.com/dam4rus/msoffice-pptx-rs.git |
max_upload_size | |
id | 102899 |
size | 324,067 |
A library to deserialize pptx files in Rust.
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.
The Office Open XML file formats are described by the ECMA-376 standard. The types represented in this library are generated from the Transitional XML Schema's, which is described in ECMA-376 4th edition Part 4, "pml.xsd" file.
Documentation is generated from the "Ecma Office Open XML Part 1 - Fundamentals And Markup Language Reference.pdf" file, found in ECMA-376 4th edition Part 1
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
}
}