PHP:COM - creating PowerPoint presentation

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
minikae
Forum Newbie
Posts: 1
Joined: Fri Nov 14, 2003 9:33 am
Location: london

PHP:COM - creating PowerPoint presentation

Post 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:
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post 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
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Post Reply