项目作者: dam4rus

项目描述 :
A library to deserialize pptx files in Rust
高级语言: Rust
项目地址: git://github.com/dam4rus/msoffice-pptx-rs.git
创建时间: 2018-12-19T13:08:38Z
项目社区:https://github.com/dam4rus/msoffice-pptx-rs

开源协议:MIT License

下载


UNMAINTAINED

This repository is no longer maintained and won’t be anywhere in the future since most of the work has been moved to another repository. As of writing this, that repository is unmaintained as well but if there will be any work done on this problem will be done on that repository.

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.

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

Simple usage

  1. extern crate msoffice_pptx;
  2. use msoffice_pptx::document::PPTXDocument;
  3. pub fn main() {
  4. let document = PPTXDocument::from_file(Path::new("test.pptx")).unwrap();
  5. for (slide_path, slide) in &document.slide_map {
  6. // Do something with slides
  7. }
  8. }