Java/ Add Footer to PowerPoint Document

Import JAR Dependency (2 Methods)


Add Footer to PowerPoint

import com.spire.presentation.FileFormat;
import com.spire.presentation.Presentation;

public class AddFooter {
public static void main(String[] args) throws Exception {
//Load a PPT document
Presentation presentation = new Presentation();
presentation.loadFromFile("William Blake.pptx");

//Add footer
presentation.setFooterText("Biography of William Blake");
//Set the footer visible
//Set the page number visible
//Set the date visible

//Save the document
presentation.saveToFile("AddFooter.pptx", FileFormat.PPTX_2010);




Sharing Java Code

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Minimal Nav Menu with Vue.js and GSAP — WotW

Camunda Version 7.16: Migrating a Tasklist Plugin (Angular JS)

Learn to code in 5 minutes

Why You Should Use GatsbyJS To Build Your Next Static Site

Dark theme with Nuxt.js

How to Create a Single Page Application with React?

How I structure React apps

Progressive Web Apps with React & Preact.js

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andrew Wilson

Andrew Wilson

Sharing Java Code

More from Medium


Java I/O Byte Stream Implementation

Convert XML to Word in Java

Test a simple java program with concordion