1pub mod core;
32
33pub mod elements;
35
36pub mod generator;
38pub mod integration;
39pub mod cli;
40
41pub mod config;
43pub mod constants;
44pub mod enums;
45pub mod exc;
46pub mod util;
47pub mod opc;
48pub mod oxml;
49pub mod parts;
50
51pub mod api;
53pub mod types;
54pub mod shared;
55
56pub mod prelude;
58
59pub mod templates;
61
62#[cfg(feature = "web2ppt")]
64pub mod web2ppt;
65
66pub use api::Presentation;
68pub use core::{ToXml, escape_xml};
69pub use elements::{Color, RgbColor, SchemeColor, Position, Size, Transform};
70pub use exc::{PptxError, Result};
71pub use generator::{
72 create_pptx, create_pptx_with_content, SlideContent, SlideLayout,
73 TextFormat, FormattedText,
74 Table, TableRow, TableCell, TableBuilder,
75 Shape, ShapeType, ShapeFill, ShapeLine,
76 Image, ImageBuilder, ImageSource,
77 Chart, ChartType, ChartSeries, ChartBuilder,
78 BulletStyle, BulletPoint,
80 Connector, ConnectorType, ConnectorLine, ArrowType, ArrowSize, ConnectionSite, LineDash,
82 Hyperlink, HyperlinkAction,
83 GradientFill, GradientType, GradientDirection, GradientStop, PresetGradients,
84 Video, Audio, VideoFormat, AudioFormat, VideoOptions, AudioOptions,
85};
86pub use integration::{PresentationBuilder, SlideBuilder, PresentationMetadata};
87pub use oxml::repair::{PptxRepair, RepairIssue, RepairResult};
88
89pub use parts::{
91 Part, PartType, ContentType,
92 PresentationPart, SlidePart, SlideLayoutPart, LayoutType,
93 SlideMasterPart, ThemePart, NotesSlidePart,
94 ImagePart, MediaPart, MediaFormat, ChartPart,
95 TablePart, TableRowPart, TableCellPart,
96 CorePropertiesPart, AppPropertiesPart,
97 ContentTypesPart, Relationships,
98};
99
100#[cfg(feature = "web2ppt")]
102pub use web2ppt::{
103 Web2Ppt, WebFetcher, WebParser, WebContent, ContentBlock,
104 ContentType as WebContentType, Web2PptConfig, ConversionOptions, Web2PptError,
106 html_to_pptx, html_to_pptx_with_options, url_to_pptx, url_to_pptx_with_options,
107};
108
109pub const VERSION: &str = "1.0.3";