Skip to main content

pptx_parse/
lib.rs

1//! Bounded PresentationML parsing and part-preserving package writes.
2
3mod builtin_table_styles;
4mod chart;
5mod comment_patch;
6mod comments;
7mod custom_geometry;
8mod drawing;
9mod error;
10mod inventory;
11mod model;
12mod notes;
13mod package;
14mod relationships;
15mod table_style;
16mod theme;
17mod write;
18mod xml;
19
20pub use builtin_table_styles::builtin_table_style;
21pub use comments::{
22    Comment, CommentAuthor, CommentAuthorWrite, CommentFlavor, CommentSlide, CommentWrite,
23    CommentsWrite,
24};
25pub use error::PptxError;
26pub use inventory::{
27    MediaKind, NotesSource, OmittedElement, OmittedInline, SlideSource, SourceShape,
28};
29pub use model::*;
30pub use package::{
31    effective_color_map, master_for_layout, parse_pptx, parse_pptx_with_limits,
32    parse_pptx_without_connectors, slide_theme, write_pptx,
33};
34pub use relationships::{Relationship, TargetMode, relationship_types};
35pub use write::{
36    DeckWrite, InheritedTransform, NotesWrite, ParagraphWrite, PictureAdd, RunWrite, ShapeAdd,
37    ShapePatch, ShapeWrite, SlideWrite, TextTarget, TextWrite, is_supported_image_content_type,
38    write_pptx_with_edits,
39};
40pub use xml::ParseLimits;