pub mod core;
pub mod elements;
pub mod generator;
pub mod cli;
pub mod exc;
pub mod opc;
pub mod oxml;
pub mod parts;
pub mod api;
pub mod prelude;
pub mod helpers;
pub mod templates;
pub mod export;
pub mod import;
#[cfg(feature = "mcp")]
pub mod mcp;
#[cfg(feature = "web2ppt")]
pub mod web2ppt;
pub use api::Presentation;
pub use core::{ToXml, escape_xml};
pub use elements::{Color, RgbColor, SchemeColor, Position, Size, Transform};
pub use exc::{PptxError, Result};
pub use generator::{
create_pptx, create_pptx_with_content, create_pptx_with_settings,
create_pptx_to_writer, create_pptx_with_content_to_writer, create_pptx_lazy_to_writer,
LazySlideSource,
SlideContent, SlideLayout,
TextFormat, FormattedText,
Table, TableRow, TableCell, TableBuilder,
Shape, ShapeType, ShapeFill, ShapeLine,
Image, ImageBuilder, ImageSource,
Chart, ChartType, ChartSeries, ChartBuilder,
BulletStyle, BulletPoint,
TextDirection, RtlLanguage, RtlTextProps,
Comment, CommentAuthor, CommentAuthorList, SlideComments,
SlideSection, SectionManager,
DigitalSignature, SignerInfo, HashAlgorithm, SignatureCommitment,
InkAnnotations, InkStroke, InkPen, InkPoint, PenTip,
SlideShowSettings, ShowType, PenColor, SlideRange,
PrintSettings, HandoutLayout, PrintColorMode, PrintWhat, Orientation,
TableMergeMap, MergeRegion, CellMergeState,
EmbeddedFontList, EmbeddedFont, FontStyle, FontCharset,
PresentationSettings,
Connector, ConnectorType, ConnectorLine, ArrowType, ArrowSize, ConnectionSite, LineDash,
Hyperlink, HyperlinkAction,
GradientFill, GradientType, GradientDirection, GradientStop, PresetGradients,
Video, Audio, VideoFormat, AudioFormat, VideoOptions, AudioOptions,
};
pub use oxml::repair::{PptxRepair, RepairIssue, RepairResult};
pub use import::html::{parse_html, parse_html_with_options, HtmlParseOptions, Html2Ppt};
pub use export::md::{MarkdownOptions, export_to_markdown, export_to_markdown_with_options};
pub use export::image_export::{
ImageExportOptions, ImageFormat,
export_to_images, export_slide_to_image, render_thumbnail
};
pub use opc::compress::{
CompressionOptions, CompressionLevel, CompressionResult,
compress_pptx, compress_pptx_in_memory, analyze_pptx
};
pub use parts::{
Part, PartType, ContentType,
PresentationPart, SlidePart, SlideLayoutPart, LayoutType,
SlideMasterPart, ThemePart, NotesSlidePart,
ImagePart, MediaPart, MediaFormat, ChartPart,
TablePart, TableRowPart, TableCellPart,
CorePropertiesPart, AppPropertiesPart,
ContentTypesPart, Relationships,
};
#[cfg(feature = "web2ppt")]
pub use web2ppt::{
Web2Ppt, WebFetcher, WebParser, WebContent, ContentBlock,
ContentType as WebContentType,
Web2PptConfig, ConversionOptions, Web2PptError,
html_to_pptx, html_to_pptx_with_options, url_to_pptx, url_to_pptx_with_options,
};
pub const VERSION: &str = "0.2.13";