Skip to main content

pptx_parse/
lib.rs

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