Showing posts with label Apache POI PPT Tutorial. Show all posts
Showing posts with label Apache POI PPT Tutorial. Show all posts

Saturday, January 14, 2017

Apache POI PPT - Installation

This chapter takes you through the process of setting up Apache POI on Windows and Linux based systems. Apache POI can easily be installed and integrated with your current Java environment, following a few simple steps without any complex setup procedures. User administration is required for installation.

Apache POI PPT - Classes and Methods

In this chapter, we will learn about a few classes and methods under Apache POI API that are crucial to work on PPT files using Java programs.

Apache POI PPT - Slide Layouts

In the previous chapter, you have seen how to create empty slides and how to add slides to it. In this chapter, you will learn how to get the list of available slides, and how to create a slide with different layouts.

Apache POI PPT - Slide Management

After completing this chapter, you will be able to delete, reorder, and perform read and write operations on a slide.

Changing a Slide

Apache POI PPT - Images

In this chapter, you will learn how to add an image to a PPT and how to read an image from it.

Adding Image

Apache POI PPT - Creating Hyperlinks

In this chapter you will learn how to create hyperlinks in a presentation.

Creating Hyperlinks

You can read the hyperlinks in a presentation using the createHyperlink() method of the XSLFTextRun class. Follow the procedure given below to create a hyperlink in a presentation.

Apache POI PPT - Reading Shapes

You can get a count of the number of shapes used in a presentation using the method getShapeName() of the XSLFShape class. Given below is the program to read the shapes from a presentation:

Apache POI PPT - Formatting Text

The text in a presentation can be formatted using the methods of the XSLFTextRun class. For that, you have to create an XSLFTextRun class object by selecting one of the slide layouts as shown below:
//create the empty presentation 
XMLSlideShow ppt = new XMLSlideShow();

Apache POI PPT - Merging

You can merge multiple presentations using the importContent() method of the XMLSlideShow class. Given below is the complete program to merge two presentations:

Apache POI PPT - PPT to Image

You can convert a presentation to an image file. The following program shows how to go about it.
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

Apache POI PPT - Quick Guide

Apache POI PPT - Overview

Many a time, a software application is required to generate reports in Microsoft Office file format. Sometimes, an application is even expected to receive MS- Office files as input data.
Any Java programmer who wants to produce MS Office files as output must use a predefined and read-only API to do so.

Apache POI PPT - Useful Resources

The following resources contain additional information on Apache POI PPT. Please use them to get more in-depth knowledge on this topic.

Discuss Apache POI PPT

Apache POI is an API that allows to create, modify and display Microsoft Office files. This open source library is developed and distributed by Apache Software Foundation.
This tutorial provides a basic understanding of Apache POI library for MS Power Point and its features.


Apache POI PPT - Presentation

Generally, we use MS-PowerPoint to create presentations. Now let us see how to create presentations using Java. After completion of this chapter, you will be able to create new MS-PowerPoint presentations and open existing PPTs with your Java program.

Apache POI PPT - Classes and Methods

In this chapter, we will learn about a few classes and methods under Apache POI API that are crucial to work on PPT files using Java programs.

Apache POI PPT - Installation

This chapter takes you through the process of setting up Apache POI on Windows and Linux based systems. Apache POI can easily be installed and integrated with your current Java environment, following a few simple steps without any complex setup procedures. User administration is required for installation.

Flavors of Java PPT API

This chapter takes you through some of the flavors of Java PowerPoint API and their features. There are many vendors who provide Java PPT related APIs; some of them are considered in this chapter.