ooxmlsdk 0.1.6

Open XML SDK for Rust
docs.rs failed to build ooxmlsdk-0.1.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: ooxmlsdk-0.3.0

Open XML SDK for Rust

crates.io docs

Open XML SDK for Rust (ooxmlsdk) is a Rust library for working with Office Word, Excel, and PowerPoint documents. The basic idea is inspired by .NET Open XML SDK.

Features

  • Deserialize/serialize OOXML (basically all of them) to/from Rust structs
  • Support namespace
  • Read docx, xlsx and pptx file
  • Write docx, xlsx and pptx file (WIP)
  • All Rust structs and ser/de code are generated from metadata (crates/ooxmlsdk/data)
  • Documentation for Rust structs

What's missing

  • No validation
  • No Particle: all xml children is in a flattern children vector of enum (OneSequence is supported, xml children are represented as struct's fields)

Project Structure

  • crates/ooxmlsdk: generated code for deserialize & serialize OOXML
  • crates/ooxmlsdk-build: generate code for deserialize & serialize OOXML
  • examples/*: examples

Known Issues

  • This library raise recursion limit by #![recursion_limit = "1024"], be cautious when use.

License

MIT OR Apache-2.0

crates/ooxmlsdk/data is directly copied from .NET Open XML SDK so this directory is licensed under this license