BulletsDemo - Apache POI PowerPoint Slides Example

Q

What is BulletsDemo example in the Apache POI package? How to run BulletsDemo example?

✍: FYIcenter.com

A

BulletsDemo example in the Apache POI package is created by Yegor Kozlov. It demonstrates how to create a single-level bulleted list and change some of the bullet attributes in *.ppt format.

BulletsDemo example uses the Horrible Slide Layout Format (HSLF) API, which supports PowerPoint slides in *.ppt format only.

Here is the command to run BulletsDemo to generate PowerPoint slide file in *.ppt file format compatible with Microsoft PowerPoint 97 version.

C:\fyicenter>c:\local\jdk-1.8.0\bin\java 
   -cp .;C:\local\poi-3.15\poi-examples-3.15.jar;
         C:\local\poi-3.15\poi-3.15.jar;
         C:\local\poi-3.15\poi-scratchpad-3.15.jar 
   org.apache.poi.hslf.examples.BulletsDemo

If you open the output file, bullets.ppt, in PowerPoint, you will see a slide with a list of bullets:
Apache POI PowerPoint Slide Example - BulletsDemo

 

Apache POI Examples for PowerPoint Slides

⇒⇒FAQ for Apache POI (Poor Obfuscation Implementation)

2017-02-14, 389👍, 0💬