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
62pub mod export;
64
65pub mod import;
67
68#[cfg(feature = "web2ppt")]
70pub mod web2ppt;
71
72pub use api::Presentation;
74pub use core::{ToXml, escape_xml};
75pub use elements::{Color, RgbColor, SchemeColor, Position, Size, Transform};
76pub use exc::{PptxError, Result};
77pub use generator::{
78 create_pptx, create_pptx_with_content, SlideContent, SlideLayout,
79 TextFormat, FormattedText,
80 Table, TableRow, TableCell, TableBuilder,
81 Shape, ShapeType, ShapeFill, ShapeLine,
82 Image, ImageBuilder, ImageSource,
83 Chart, ChartType, ChartSeries, ChartBuilder,
84 BulletStyle, BulletPoint,
86 Connector, ConnectorType, ConnectorLine, ArrowType, ArrowSize, ConnectionSite, LineDash,
88 Hyperlink, HyperlinkAction,
89 GradientFill, GradientType, GradientDirection, GradientStop, PresetGradients,
90 Video, Audio, VideoFormat, AudioFormat, VideoOptions, AudioOptions,
91};
92pub use integration::{PresentationBuilder, SlideBuilder, PresentationMetadata};
93pub use oxml::repair::{PptxRepair, RepairIssue, RepairResult};
94
95pub use parts::{
97 Part, PartType, ContentType,
98 PresentationPart, SlidePart, SlideLayoutPart, LayoutType,
99 SlideMasterPart, ThemePart, NotesSlidePart,
100 ImagePart, MediaPart, MediaFormat, ChartPart,
101 TablePart, TableRowPart, TableCellPart,
102 CorePropertiesPart, AppPropertiesPart,
103 ContentTypesPart, Relationships,
104};
105
106#[cfg(feature = "web2ppt")]
108pub use web2ppt::{
109 Web2Ppt, WebFetcher, WebParser, WebContent, ContentBlock,
110 ContentType as WebContentType, Web2PptConfig, ConversionOptions, Web2PptError,
112 html_to_pptx, html_to_pptx_with_options, url_to_pptx, url_to_pptx_with_options,
113};
114
115pub const VERSION: &str = "1.0.3";