Questions tagged [phppowerpoint]

PHPPowerPoint is a library written in pure PHP that provides methods to create/write presentation and slide show formats (PowerPoint 2007+, Open/Libre Office Presentation).

PHPPowerPoint is a library written in pure PHP that provides methods to create/write presentation and slide show formats (PowerPoint 2007 .pptx, Open/Libre Office Presentation .odp).

It is a component of the PHPOffice suite of libraries, comprising PHPExcel, PHPWord, PHPPowerPoint, PHPProject and PHPVisio.

The current production release of PHPPowerPoint is version 0.1.0 (CTP 1).

Resources

40 questions
0
votes
1 answer

Using the PhpPowerpoint API as a powerpoint reader

I am trying to embed powerpoints dynamically to my webpage using PhpPowerpoint API, but with no success. Here is my code:
Afonso
  • 1
  • 2
0
votes
1 answer

Run PHPPowerpoint on Linux Server

Im trying to run a project that uses phppowerpoint on a linux server. Its working ok on windows. But when I put my project online, the same way it is on my wamp server, its doesnt work. It seems like its having problems with case sensitive. The…
churros
  • 419
  • 1
  • 8
  • 20
0
votes
0 answers

PhpPowerpoint fatal error

I was in the process of viewing an existing pptx file using the reader of Powerpoint2007 but i get this fatal error: Fatal error: Uncaught exception 'Exception' with message 'File ./resources/phppowerpoint_logo.gif not found!' in…
0
votes
2 answers

Phppowerpoint in getting text

Do PhpPowerpoint have the capacity to get the text from an existing pptx? Cause I want to get the text from an existing pptx to php. Is there a possibility to achieve it?
0
votes
1 answer

PHPPowerPoint Remove Legend From Bar Graph

I am using PHPPowerPoint to export a .ppt file using PHP. I am successful until now when I want to remove the legend from the Bar Graph. The code which is generating the bar graph is: $chart1 = new Bar(); $series = new Series('City Distribution',…
void
  • 36,090
  • 8
  • 62
  • 107
0
votes
1 answer

Writing files in Google Cloud using PHP

So I am trying to write a PPT file using PHP in my Google Cloud App Engine. The final code to write the file is $xmlWriter = IOFactory::createWriter($phpPresentation, "PowerPoint2007"); $xmlWriter->save("php://output"); It is workng in my Localhost…
void
  • 36,090
  • 8
  • 62
  • 107
0
votes
1 answer

How do I customize the line in a line chart with PHPPowerpoint/PHPPresentation?

How do I customize the lines in the line charts on PHPPowerpoint/PHPPresentation? I can't find anything in there documentation or in the samples to figure this out. Here's my code: $seriesData = array( 'Monday' => 12, 'Tuesday' => 15, …
kingcobra1986
  • 971
  • 2
  • 14
  • 38
0
votes
2 answers

PhpPowerpoint class XMLwriter not found

I'm trying to use PHPPowerpoint and his examples But I get the following error : *Sample 01 Complex 14:56:03 Create new PHPPresentation object 14:56:03 Set properties 14:56:03 Remove first slide 14:56:03 Create templated slide 14:56:03 Create a…
Yann L
  • 11
  • 2
0
votes
1 answer

PHPPowerpoint chart with excel (Sample 8) not working

I'm using this library, to create PowerPoint presentations with Charts in them using PHP. I intend to have the chart data editable (with an embed excel sheet). I'm new to the library and still trying to figure out how exactly to go about it. The…
TDsouza
  • 910
  • 2
  • 13
  • 38
0
votes
1 answer

Inserting new line break while writing on PPT using PHPPowerPoint

I am creating a PPT using PHPPowerPoint with the data imported from database. Everything is going perfect just I want to insert New line/line breaks between some of the data. Nothing is helpful, can anyone please help me. Thank you in advance.
0
votes
1 answer

PhpPowerpoint Manual Install

I'm trying to manually install PhpPowerpoint (not using composer) I've WAMP installation having document_root D:\wamp\www\ i've copied the PhpPowerpoint folder under the following path D:\wamp\www\php\PhpOffice\ using the manual installation code…
motash
  • 39
  • 4
0
votes
2 answers

PHPPowerpoint set Hyperlink in table cell

I want to set an Hyperlink in a table cell: /* ADD TABLE ROW */ foreach ($entries as $entry) { $row = $tableShape->createRow(); $row->getFill()->setFillType(Fill::FILL_SOLID) ->setStartColor(new…
chuebert
  • 136
  • 1
  • 6
0
votes
3 answers

Download a PowerPoint just created in PHP

I am trying to add the PHPPowerPoint to one of my tools. I add all the file that PHPPowerPoint needs and write the download link to the right page but when I try to download it, it say to me that I don't have the permit to access to the file. I…
Scutto
  • 35
  • 1
  • 8
0
votes
1 answer

SVG to Powerpoint via php or javascript

So I have figured out how to create a SVG charts with d3, and I have them neatly displayed on a webpage for all to view. The problem is I need to export these SVG graphs to powerpoint. I have started using PHPPowerpoint and can pull an image from…
sweaty
  • 369
  • 2
  • 4
  • 18
0
votes
1 answer

PHPPowerPoint Charts Broken?

I have a web page with a chart (FusionChart) that I'm trying to download as a PowerPoint slide with a chart -- one that PowerPoint recognizes as a chart so it will allow the user to edit chart properties (ie: no image). To this end, I downloaded…
R. Barzell
  • 666
  • 5
  • 24