|
Posted by rafael on 12/22/07 08:17
I would like to create powerpoint file from php, and I have this php
script i got from the internet...
<?
$powerpnt = new COM("powerpoint.application");
$pres=$powerpnt->Presentations->Add();
$pres->Slides->Add(1,12);
$pres->Slides->Add(2,10);
$pres->Slides[1]->Shapes->AddTextbox(1,20,50,300,40);
$pres->Slides[1]->Shapes->AddShape(94,100,200,300,300);
$powerpnt->Presentations[1]->SaveAs("D:\test.ppt");
$powerpnt->quit();
echo '<a href="test.ppt">Download file as .ppt</a>';
?>
I would like to add a Chart....I tried searching the internet seems i
can't find anything...
Can anybody help ?
Thanx...
Regards,
Rafael
Navigation:
[Reply to this message]
|