Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
    Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Joe Ess
  • salvin francis
  • fred rosenberger
  • Mark post as helpful
  • send pies
  • Report post to moderator
Note: This code uses POI 4.0.

This code example shows how to use the Apache POI library to read a PowerPoint presentation file, and how to extract text, images and notes from it.

This code works with binary PPT files (.ppt), not the XML format (.pptx). POI's APIs for both are pretty similar, though. One would use JavaDoc:org.apache.poi.xslf.XSLFSlideShow instead of HSLSFSlideShow, and then use the classes in org.apache.poi.xslf.* instead of the ones in org.apache.poi.hssf.*

CategoryCodeSamples CodeBarn
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!