Skip to main content

Module generator

Module generator 

Source
Expand description

PPTX file generator - creates proper ZIP-based PPTX files

Re-exports§

pub use builder::create_pptx;
pub use builder::create_pptx_with_content;
pub use builder::create_pptx_with_settings;
pub use builder::create_pptx_with_template;
pub use builder::create_pptx_to_writer;
pub use builder::create_pptx_with_content_to_writer;
pub use builder::create_pptx_lazy_to_writer;
pub use builder::LazySlideSource;
pub use template::PptxTemplate;
pub use layout_parts::STANDARD_LAYOUT_COUNT;
pub use notes_xml::create_notes_xml;
pub use notes_xml::create_notes_rels_xml;
pub use notes_xml::create_notes_master_xml;
pub use notes_xml::create_notes_master_rels_xml;
pub use slide_content::SlideContent;
pub use slide_content::SlideLayout;
pub use presentation_theme::PresentationTheme;
pub use presentation_theme::ThemeColorScheme;
pub use presentation_theme::ThemeFonts;
pub use slide_content::CodeBlock;
pub use slide_content::BulletStyle;
pub use slide_content::BulletPoint;
pub use slide_content::BulletTextFormat;
pub use slide_content::TransitionType;
pub use slide_content::Comment;
pub use slide_content::CommentAuthor;
pub use slide_content::CommentAuthorList;
pub use slide_content::SlideComments;
pub use slide_content::SlideSection;
pub use slide_content::SectionManager;
pub use slide_content::DigitalSignature;
pub use slide_content::SignerInfo;
pub use slide_content::HashAlgorithm;
pub use slide_content::SignatureCommitment;
pub use slide_content::InkAnnotations;
pub use slide_content::InkStroke;
pub use slide_content::InkPen;
pub use slide_content::InkPoint;
pub use slide_content::PenTip;
pub use slide_content::SlideShowSettings;
pub use slide_content::ShowType;
pub use slide_content::PenColor;
pub use slide_content::SlideRange;
pub use slide_content::PrintSettings;
pub use slide_content::HandoutLayout;
pub use slide_content::PrintColorMode;
pub use slide_content::PrintWhat;
pub use slide_content::Orientation;
pub use slide_content::TableMergeMap;
pub use slide_content::MergeRegion;
pub use slide_content::CellMergeState;
pub use slide_content::EmbeddedFontList;
pub use slide_content::EmbeddedFont;
pub use slide_content::FontStyle;
pub use slide_content::FontCharset;
pub use slide_content::PresentationSettings;
pub use text::TextFormat;
pub use text::FormattedText;
pub use text::TextFrame;
pub use text::Paragraph;
pub use text::Run;
pub use text::TextAlign;
pub use text::TextAnchor;
pub use text::TextDirection;
pub use text::RtlLanguage;
pub use text::RtlTextProps;
pub use shapes::Shape;
pub use shapes::ShapeType;
pub use shapes::ShapeFill;
pub use shapes::ShapeLine;
pub use shapes::GradientFill as ShapeGradientFill;
pub use shapes::GradientStop as ShapeGradientStop;
pub use shapes::GradientDirection as ShapeGradientDirection;
pub use shapes::FillType;
pub use shapes::emu_to_inches;
pub use shapes::inches_to_emu;
pub use shapes::cm_to_emu;
pub use shapes_xml::generate_shape_xml;
pub use shapes_xml::generate_shapes_xml;
pub use shapes_xml::generate_connector_xml;
pub use table::Table;
pub use table::TableRow;
pub use table::TableCell;
pub use table::TableBuilder;
pub use table::CellAlign;
pub use table::CellVAlign;
pub use table::generate_table_xml as generate_table_xml_new;
pub use images::Image;
pub use images::ImageBuilder;
pub use images::ImageSource;
pub use images_xml::generate_image_xml;
pub use images_xml::generate_image_relationship;
pub use images_xml::generate_image_content_type;
pub use charts::Chart;
pub use charts::ChartType;
pub use charts::ChartSeries;
pub use charts::ChartBuilder;
pub use charts::generate_chart_part_xml;
pub use charts::generate_chart_ref_xml;
pub use connectors::Connector;
pub use connectors::ConnectorType;
pub use connectors::ConnectorLine;
pub use connectors::ArrowType;
pub use connectors::ArrowSize;
pub use connectors::ConnectionSite;
pub use connectors::LineDash;
pub use connectors::generate_connector_xml as generate_cxn_xml;
pub use hyperlinks::HyperlinkAction;
pub use gradients::GradientFill;
pub use gradients::GradientType;
pub use gradients::GradientDirection;
pub use gradients::GradientStop;
pub use gradients::PresetGradients;
pub use gradients::generate_gradient_fill_xml;
pub use media::Video;
pub use media::Audio;
pub use media::VideoFormat;
pub use media::AudioFormat;
pub use media::VideoOptions;
pub use media::AudioOptions;
pub use media::generate_video_xml;
pub use media::generate_audio_xml;

Modules§

builder
PPTX builder - orchestrates ZIP creation and file writing
charts
Chart creation support for PPTX generation
connectors
Connector support for linking shapes in PPTX
constants
Layout constants for PPTX generation
gradients
Gradient fill support for PPTX shapes
hyperlinks
Hyperlink support for PPTX elements
image_effects
Image visual effects and blipFill XML generation
images
Image handling for PPTX presentations
images_xml
Image XML generation for PPTX presentations
layout_parts
Slide layout part XML (ppt/slideLayouts/slideLayoutN.xml) with placeholders.
layouts
Slide layout XML generators
media
Media embedding support for PPTX (video and audio)
media_registry
Deduplicate embedded slide media by byte content.
memory_profile
Memory and performance profiling helpers for large presentations
notes_xml
Notes XML generation for speaker notes
package_cache
Cached static package parts reused across every generated deck.
package_xml
Package-level XML generation (content types, relationships, presentation)
presentation_theme
Customizable presentation themes for PPTX output
props_xml
Document properties XML generation
shapes
Shape creation support for PPTX generation
shapes_xml
Shape XML generation for PPTX
slide
Slide generation module
slide_content
Slide content and layout types
slide_xml
Slide XML generation for different layouts
table
Table module for PPTX generation
template
Load theme / master / layout parts from an existing PPTX template.
text
Text formatting support for PPTX generation
theme_xml
Theme, master, and layout XML generation