Aspose.Slides FOSS for Java

Aspose.Slides FOSS for Java is an open-source, MIT-licensed library for creating, loading, and saving PowerPoint .pptx files in Java. It provides a rich object model for slides, shapes, text, tables, images, comments, and document properties.

Repository: github.com/aspose-slides-foss/Aspose.Slides-FOSS-for-Java

Package: org.aspose.slides.foss

License: MIT

import org.aspose.slides.foss.Presentation;
import org.aspose.slides.foss.ISlide;
import org.aspose.slides.foss.IAutoShape;
import org.aspose.slides.foss.ShapeType;
import org.aspose.slides.foss.export.SaveFormat;

Core Classes

ClassDescription
PresentationRoot object for creating, loading, and saving .pptx files.
SlideRepresents a single slide in a presentation.
SlideCollectionOrdered collection of slides in a presentation.

Shapes

ClassDescription
Shape (GeometryShape)Base class for shapes with geometry on a slide.
ShapeCollectionCollection of shapes on a slide.
AutoShapeA shape with preset or custom geometry and optional text.

Text

ClassDescription
TextFrameText frame containing paragraphs within a shape.
ParagraphA text paragraph containing portions.
PortionA text run within a paragraph.

Tables

ClassDescription
TableTable shape on a slide.

Formatting

ClassDescription
ColorFormatColor used in a presentation.
FillFormatFill formatting properties.
LineFormatLine formatting properties.
EffectFormatEffect formatting (blur, glow, shadow, reflection).
GradientFormatGradient fill format properties.
PatternFormatPattern fill format properties.
ThreeDFormat3-D formatting properties.

Images & Drawing

ClassDescription
ImageCollectionCollection of images embedded in the presentation.

Comments & Properties

ClassDescription
CommentA slide comment.
CommentAuthorAuthor of slide comments.
DocumentPropertiesPresentation metadata (title, author, etc.).

Masters, Layouts & Notes

ClassDescription
LayoutSlideA layout slide in the presentation.
MasterSlideA master slide in the presentation.
NotesSlideNotes slide attached to a presentation slide.