PPTUtils Available On RIAForge

Posted By : todd sharp Posted At : December 15, 2007 9:32 PM Posted In: pptutils, ColdFusion

3

I just uploaded pptutils (PowerPoint extraction) component to RIAForge. The component is pretty stable at this point I believe. See related posts below if you're not familiar with the project.

Here's the description I used at RIAForge:

Description: This component gives you the ability to extract pure text and/or slides with (almost) full formatting from PowerPoint presentations (Office 2003 and older). It is built upon the Apache POI HSLF project.

About: PPTUtils is a simple cfc that can be used to extract text and/or formatted markup (including images) from a PowerPoint file. Since it is built upon HSLF it is subject to the limitations in that project:

"HSLF is the POI Project's pure Java implementation of the Powerpoint '97(-2007) file format. It does not support the new PowerPoint 2007 .pptx file format, which is not OLE2 based.

HSLF provides a way to read powerpoint presentations, and extract text from it. It also provides some (currently limited) edit capabilities."

To work with this CFC, just instantiate it like you would any component.

To extract text call the extractText() method. To create an array of slides (which will include data about formatting/positioning, etc) call the convertPowerPoint() method. To extract metadata about the PPT file call the getPPTMetaData() method.

For sample implementations see the samples folder in this package.

Also see docs/pptutils_api.html

If you should find this component useful please consider visiting my wishlist (http://www.amazon.com/gp/registry/wishlist/2PTWNTIRNTIKS/)

Credits: pptutils uses JavaLoader by Mark Mandel (http://javaloader.riaforge.org/) pptutils utilizes POI/HSLF which is part of the Apache Project (http://poi.apache.org/) Licenses applicable to the respective owners.

Requirements: ColdFusion 7+ (some samples require CF 8 but component can be used without 8)

There is some decent documentation and a handful of samples in the package. Thoughts/feedback/wishlist purchases are always appreciated!

Oh...if you've read this far...keep an eye out for another announcement later tonight (if DNS propagation goes thru...)

Related Blog Entries

Comments (3)

Don Li's Gravatar I tried it. Useful. Thank you. It would be nice to separate each sentence though.

tatil's Gravatar I tried it. Useful. Thank you. It would be nice to separate each sentence though.
http://tatilkoyleri.org

Z's Gravatar Quite useful, thank you.

I noticed that on the pptToHtml, while it does display background images, it does not display background colors. I don't really need it to, but I thought that you might like to know.