Aspose.Slides FOSS for C++

Aspose.Slides FOSS for C++ is a free, open-source library for working with PowerPoint .pptx files. It provides classes for creating, loading, inspecting, and saving presentations without requiring Microsoft Office.

Namespace: Aspose::Slides::Foss

License: MIT

Build system: CMake

#include <Aspose/Slides/Foss/presentation.h>

Core Classes

ClassHeaderDescription
Presentationpresentation.hRoot object for loading and saving .pptx files.
Slideslide.hA single slide in a presentation.
SlideCollectionslide_collection.hOrdered collection of slides.
Shapeshape.hBase class for all shapes on a slide.
ShapeCollectionshape_collection.hCollection of shapes on a slide.
AutoShapeauto_shape.hA shape with geometry and optional text frame.
TextFrametext_frame.hText content inside a shape.
Paragraphparagraph.hA paragraph of text inside a text frame.
Portionportion.hA run of text with uniform formatting.

Tables

ClassHeaderDescription
Tabletable.hA table shape on a slide.

Formatting

ClassHeaderDescription
ColorFormatcolor_format.hColor specification for shape and text elements.
FillFormatfill_format.hFill properties (solid, gradient, pattern, picture).
LineFormatline_format.hLine/border properties for shapes.
EffectFormateffect_format.hVisual effects (shadow, glow, reflection, blur).
GradientFormatgradient_format.hGradient fill settings.
PatternFormatpattern_format.hPattern fill settings.
ThreeDFormatthree_d_format.h3-D effect settings (bevel, camera, lighting).

Drawing & Images

ClassHeaderDescription
Connectorconnector.hA connector shape between two shapes.
PictureFramepicture_frame.hA picture frame shape.
ImageCollectionimage_collection.hCollection of images embedded in a presentation.
FontDatafont_data.hFont name and metadata.

Slide Structure

ClassHeaderDescription
LayoutSlidelayout_slide.hA layout slide template.
MasterSlidemaster_slide.hA master slide (theme source).
NotesSlidenotes_slide.hSpeaker notes for a slide.

Metadata

ClassHeaderDescription
DocumentPropertiesdocument_properties.hBuilt-in and custom document metadata.
Commentcomment.hA review comment on a slide.
CommentAuthorcomment_author.hAuthor of a review comment.