I have Generated an Excel file using PHPExcel and i wanted to convert the file to power point. Is there any alternative way to generate power point file directly, or how to convert the generated excel file to power point.
Asked
Active
Viewed 109 times
1
-
1Have you tried PHPOffice https://github.com/PHPOffice/PHPPresentation – mazedlx Nov 20 '16 at 11:17
-
Thanks mazedlx for the head up .I have already generated the excel file i wanted to convert the file to power point slide in PHP Codeigniter. – A Sahra Nov 20 '16 at 11:21
-
I don't think it's possible to convert xlsx to pptx with PHP in any easy way. – mazedlx Nov 20 '16 at 11:27
-
1Yeah but i am stack-overflowed to this problem i must do it anyway looking forward. – A Sahra Nov 20 '16 at 11:44
-
1@ASahra Are you sure your question makes sense in the first place? What would you expect to see in a slide of the presentation? I would expect some portion of the data, but which one? Take a look at this, https://support.office.com/en-us/article/Import-data-from-Excel-into-PowerPoint-3ec295e9-1bfd-47ff-8d7d-8b838caef853 – Luka Žitnik Nov 20 '16 at 13:27
-
@user152807 what I want is conversion of Excel file to power point which insert an image and some data on power point slides .this is my point of favor – A Sahra Nov 20 '16 at 14:52
-
Then follow mazedlx's suggestion, try out PHPPresentation. – Luka Žitnik Nov 20 '16 at 14:58
-
@user152807 the question is to convert the Excel generated file to power point,i have already generated excel file so for the purpose of conversion i can't do it with PHPPresentation. – A Sahra Nov 21 '16 at 03:54
-
I believe your only option is to embed the xlsx file into pptx using PHPPresentation as an object. Alternatively why can't you generate an xlsx and a pptx at the same time with one with PHPPresentation and the other with PHPExcel? – Ferenc Kurucz Mar 08 '17 at 02:21