Enroll Course

100% Online Study
Web & Video Lectures
Earn Diploma Certificate
Access to Job Openings
Access to CV Builder

Online Certification Courses

Apache POI (PowerPoint) Course And Certification

Apache POI Course, Apache POI Certificate, Apache POI Training, apache poi course and certification application, apache poi course and certification course, apache poi course and certification download, apache poi course and certification free. 

What is Apache POI (PowerPoint)?

PowerPoint, as you may know is a tool developed by Microsoft used for the creation of presentations in the form of slides. Marketers use it for creating captivating pitches, teachers use it to graphically communicate their ideas etc.  

Apache POI (PowerPoint) is used by programmers to create astonishing powerpoint presentations and manage them using Java Programming Language. 

Getting Started Apache POI (PowerPoint): 

The first good step to getting started with PowerPoint Presentation is creating a new file, and to do this you will need to call the XMLSlideShow function using the following line of code: 

XMLSlideShow ppt = new XMLSlideShow(); 

Next is to create a new PowerPoint document – the code below should get the job done 

import java.io.FileOutputStream;

import java.io.IOException;

import org.apache.poi.xslf.usermodel.XMLSlideShow;

import org.apache.poi.xslf.usermodel.XSLFSlide;

public class CreatePresentation {

public static void main(String args[]) throws IOException {


//creating a new empty slide show

XMLSlideShow ppt = new XMLSlideShow(); 


//creating an FileOutputStream object

File file = new File("example1.pptx");

FileOutputStream out = new FileOutputStream(file);


//saving the changes to a file


System.out.println("Presentation created successfully");





Creating and Editing slides in PowerPoint using Apache POI 

To create a new slide in PowerPoint using Java, call the XSLFSlide Function. Other functions you will need as you work are:

XSLFBackground getBackground(): This function is used for formatting the background of slides in PowerPoint. It lets a user specify background colour and use an image as background.

XSLFSlideLayout getSlideLayout(): Lets a user modify and edit the layout of a particular slide. 

XSLFSlide importContent(XSLFSheet src: To extract the properties of a particular slide and copy them unto another. 

When working on a presentation, the need to write and edit texts may arise. Not to worry –Apache POI has got some cool tool to handle this. Here are some of the functions and what they do: 

· XSLFTextRun addLineBreak(): For inserting line breaks when starting a new paragraph 


· void setIndent(double value): For adding indentation to a block of text 


· void setTextAlign(TextAlign align): Does the job of text alignment. 


· void setBold(boolean bold): For bolding texts 


· void setFontSize(double fontSize): Does the work of setting font size. 

In the Full course, you will learn everything you need to know about Apache POI (PowerPoint) with Certification to showcase your knowledge and competence. 

Apache POI PowerPoint Course Outline: 

Apache POI PowerPoint - Introduction/Overview

Apache POI PowerPoint - Java API Flavors

Apache POI PowerPoint - Installation

Apache POI PowerPoint - Classes & Methods

Apache POI PowerPoint - Presentation

Apache POI PowerPoint - Slide Layouts

Apache POI PowerPoint - Slide Management

Apache POI PowerPoint - Images

Apache POI PowerPoint - Creating Hyperlinks

Apache POI PowerPoint - Reading Shapes

Apache POI PowerPoint - Formatting Text

Apache POI PowerPoint - Merging

Apache POI PowerPoint - PPT to Image

Apache POI PowerPoint - Exams and Certification

Corporate Training for Business Growth and Schools