Win32::PowerPoint 0.04 with more embellishment options

ishigaki on 2007-01-16T17:28:09

Updated Win32::PowerPoint as Austin Ekwebelam sent me a modified/enhansed version and a test script and desired ppt output for his case. They are very helpful, especially as YAPC::Asia is coming. (I must write some txt2ppt converter with it as promised in the pod...)


Using Perl to produce PowerPoint presentations

bart on 2007-01-16T21:51:36

So now we can use Perl to produce PowerPoint presentations... You may not believe this, but over the last years we've had many questions in that area, mainly from Perl newbies, on the Chatterbox on PerlMonks. We used to have to say "No you can't". Now we can say "Yes you can!".

I quickly glanced at the source, and it quickly revealed what I had already suspected, based on the module name: it uses Win32::OLE to do its magic. So this means you have to have MS-PowerPoint, and have to have it installed. (When I get MS-Office from work, I tend to not install PowerPoint.) Oh, and you must use it on Windows, too. ;-)

So one can still dream of a module like SpreadSheet::ParseExcel/SpreadSheet::WriteExcel, that parses/generates the native PowerPoint format, but without using Microsoft's program. (Which I hate.) Producing the muck people tend to expect, but without getting your hands dirty.

Re:Using Perl to produce PowerPoint presentations

ishigaki on 2007-01-17T02:52:48

Sadly yes, we need Windows and MSOffice at hand, though there must be some way to do without them, as there're several viewers/converters around. I selected Win32::OLE mainly because I once was (am?) a VB programmer, but if you know some free C(++) libraries, please let me know.