Expand description
§ppt-rs
A Rust library for creating, reading, and updating PowerPoint (.pptx) files.
This is a Rust port of the python-pptx library.
§Features
- Create new PowerPoint presentations
- Read existing .pptx files
- Modify slides, shapes, text, images, and charts
- Full support for OpenXML format (ISO/IEC 29500)
§Quick Start
use ppt_rs::new_presentation;
// Create a new presentation
let mut prs = new_presentation().unwrap();
// Save the presentation
prs.save_to_file("output.pptx").unwrap();§Status
🚧 Work in Progress - This library is currently under active development.
See MIGRATION_STATUS.md for detailed migration progress.
Re-exports§
pub use api::new_presentation;pub use api::open_presentation;pub use api::Presentation;pub use error::PptError;pub use error::Result;pub use presentation::Presentation as PresentationStruct;
Modules§
- api
- Directly exposed API classes, Presentation for now.
- chart
- Chart-related objects
- dml
- DrawingML module - colors, fills, lines, effects
- enums
- Enumerations for ppt-rs
- error
- Error types for ppt-rs
- opc
- Open Packaging Convention (OPC) module
- oxml
- OpenXML processing module
- parts
- Parts module - different types of parts in a PPTX package
- presentation
- Main presentation object.
- shapes
- Shapes module - handles all shape types in PowerPoint
- slide
- Slide-related types and functionality
- table
- Table-related objects
- text
- Text module - handles text formatting and layout
- util
- Utility functions and helpers