Page 1 of 1
How to export PHP output into .PPT Format?
Posted: Wed Aug 29, 2007 3:49 am
by pcoder
Hi,
How can i use PHP to create downloadable .PPT file from PHP output?
Thanks
Posted: Wed Aug 29, 2007 4:21 am
by CoderGoblin
Simple answer is no idea but as no one has yet answered I'll throw something in. I have never come across this requirement. Powerpoint -> HTML converters are available but I cannot see/find anything to go the other way round. I think I am right in saying that the latest version of MS Office including Powerpoint use the "OpenXML" format and you may want to look from this angle. Rather than producing HTML produce the Open XML required.
The question is why are you converting it to Powerpoint. Could you convert it to PDF instead ? PDF is far more supported and is accessible for far more people when downloading.
Posted: Wed Aug 29, 2007 5:37 am
by pcoder
Thanks for the quick response.
Actually , the client wants to use it directly for presentation.They don't want to do further processing to convert pdf(or any) document to powerpoint.
Anyway thanks again.
Posted: Wed Aug 29, 2007 7:07 am
by onion2k
PPT is a proprietary Microsoft format that they keep very secret indeed. Creating a new powerpoint slide show with PHP is possible using a COM interface to the application (eg
http://www.whenpenguinsattack.com/2007/ ... -with-php/ ) but it'll be a lot of work and it'll only work on a Windows server, plus you'll need Powerpoint installed on said server. Frankly it sounds like a pretty daft idea to me.
Posted: Wed Aug 29, 2007 7:15 am
by pcoder
Thanks onion2k
I read this article.
Is there any function link TypeText in word to write some text in Powerpoint.
Thanks
Posted: Wed Aug 29, 2007 8:18 am
by onion2k
I've no idea. I suggest you use Google to find a Powerpoint API reference. Like I said, it's going to be a lot of work, and it won't work when you put the site online if you're using a Unix or Linux web host.