Page 1 of 1

PHP:COM - creating PowerPoint presentation

Posted: Fri Nov 14, 2003 9:33 am
by minikae
Are there any tutorials/examples of using PHP COM with PowerPoint. I am not very familiar with COM, but following an article on Excel, I was able to start Powerpoint, create a new presentation, add a blank slide and save the presentation. However, I haven't figured out how to change the slide. For example, how would I change or add title text to a slide or insert an image? I am particulary interested in inserting data unto the 2 column Image and Text slide.

There is an example in the online php manual but this does not show how to insert data.
http://www.php.net/manual/en/class.com.php

Any help would be appreciated!

:oops:

Posted: Fri Nov 14, 2003 10:20 am
by JayBird
what happens if you try this

Code: Select all

$powerpoint->Selection->Typetext("This is a test");
You need to go to the microsift site to find out how to do stuff with COM as it isn't concerned with PHP.

Mark

Posted: Fri Nov 14, 2003 10:27 am
by JayBird