开发者

Export to PowerPoint (.PPT)

How can HTML/XML/JSON data be export开发者_高级运维ed to PowerPoint format using PHP? Thanks in advance.


As of PowerPoint 2007, documents can be saved and editied as XML. See http://msdn.microsoft.com/en-us/library/bb739834.aspx for reference.

I am not aware of any PHP libraries that offer an interface for the creation of ppt files. Therefore, your best bet is probably DomDocument.


The easiest way to solve this is by finding a commandline program that does the conversion. Then you can call the commandline program with shell_exec.

However, I don't know any program at all that does what you want. Maybe you can do it with OpenOffice.org Impress in headless mode?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜