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