in reply to a module to generate PowerPoint?

I suspsect Win32::OLE would be able to help you, although I doubt it would be a simple task. Of course this is assuming that PowerPoint and OLE play well together.

-stvn

Replies are listed 'Best First'.
Re: Re: a module to generate PowerPoint?
by Corion (Patriarch) on Jan 27, 2004 at 15:58 UTC

    In fact, automating Office applications is simple through the Macro Recorder functionality in them. You simply record a macro, do what you want to do, and then translate the generated Visual Basic code to Perl (which means mostly replacing . by ->).

    Another solution would have been ooolib, but it dosen't support PowerPoint presentations yet. Automating OpenOffice.org (the program suite) is an ugly task as they expose an ugly underdocumented Java API as OLE objects instead of copying Microsoft and their Office object model. And the Macro Recorder for OpenOffice.org dosen't produce usable stuff, as it records to StarBasic instead.

    perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web