Apache POI PPT Reading Shapes Apache POI PPT

How to read shapes in Apache POI PPT?

You can get the count of the number of shapes which are used in a presentation, using method getShapeName() of the XSLFShape class. Below is the program for reading the shapes from a presentation:

Save the above Java code as ReadingShapes.java and then compile and execute it from the command prompt as shown below:

It will compile and execute to generate below output.

Newly added slide with the various shapes will appear as shown below:

ReadingShapes


Face Book Twitter Google Plus Instagram Youtube Linkedin Myspace Pinterest Soundcloud Wikipedia

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Apache POI PPT Topics