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
4
votes
3 answers

PhpPowerpoint set slide width and height (slide dimensions)

I want to know if there is a way to create a ppt file with pre defined width and height rather than default one.
KA.
  • 4,220
  • 5
  • 26
  • 37
4
votes
1 answer

PHPPowerpoint : Grid Lines + Custom Chart Line Colors + Label Y-axis

I'm using the following code to create a chart with the PHP Powerpoint library. $currentSlide = createTemplatedSlide($objPHPPowerPoint); $seriesData = array('ABC'=>97,'BCD'=>97,'CDE'=>97,'DEF'=>97,'EFG'=>97,'FGH'=>97); $lineChart = new…
asprin
  • 9,579
  • 12
  • 66
  • 119
2
votes
0 answers

PHPPresentation - issue loading then saving PP07 file

I'm having issues just loading a PowerPoint 2007 (.pptx) file then saving it again. Even without making any changes to it the images from the original file end up missing. require_once…
Arkandel
  • 339
  • 2
  • 10
1
vote
0 answers

Generating Powerpoint file or Converting generated Excel file to power point in PHP Codeigniter

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.
A Sahra
  • 118
  • 1
  • 12
1
vote
0 answers

PHPPowerPoint split cells vertically

I use PHPPowerPoint library to create a table in my presentation. Currently, I'm looking for a equivalent method of PP "split cells" option (as in picture below). I would like to split a cell vertically - in two columns. Question: How can I split…
suz
  • 737
  • 2
  • 9
  • 22
1
vote
1 answer

Set Table Cell Alignment - PHPPowerPoint

I am struggling to set the alignment of a cell in PHPPowerpoint, I have searched and searched and can't seem to find anything Here is a snippet of my PHP powerpoint building script - $shape =…
SK2017
  • 753
  • 9
  • 38
1
vote
1 answer

Can PHPPowerPoint Copy Existing PowerPoint

I would like to make a master Powerpoint or .PPTX by copying slides from multiple Powerpoint (PPT) presentations. I would like to give PHPPowerPoint a list of file locations as input and let it create the master PPT or PPTX. Can PHPPowerPoint do…
Jim
  • 133
  • 4
1
vote
1 answer

PHPPower Point-struggelling for setting the path for require_once

I'm using the PHPPowerPoint library from (http://phppowerpoint.codeplex.com/releases/view/26621). So I downloaded the "class" folder which contailes all of the needed libraries and put it in the CodeIgniter framework (Source…
user385729
  • 1,924
  • 9
  • 29
  • 42
1
vote
2 answers

How do I add images to a slide using PHPPowerPoint?

PHPPowerPoint is a great library, but it has no documentation. What is the proper syntax for adding images to a slide?
1
vote
2 answers

PHPPowerpoint to generate slide show on web page dynamically

I want to use PHPPowerpoint to generate slide show on a web page dynamically.. meaning, a user could upload any PPT file. I have to display it's slide show. Kindly guide me How do I do it using PHPPowerpoint in php?
0
votes
1 answer

How to read PPT file using PHPpowerpoint?

how to read PPTX files using PHP powerpoint? is there any way to serialize the ppt file like in PHPexcel?
Anand 10
  • 103
  • 1
  • 10
0
votes
1 answer

How to add two images per slide from mysql (PHP Presentation)?

I am trying to make simple presentation with two images per slide but I don't know how to put 2 images per slide. All images goes to one slide. This is how it looks This is what I want Could you please help me with this. This is my code: (THIS…
0
votes
0 answers

How to load a template in PHPPowerpoint

I am using PHPPowerpoint which is manually installed (without composer). the lib works but not when using a template. I tried this code: $pptReader = PHPPowerPoint_IOFactory::createReader('PowerPoint2007'); $objPHPPowerPoint =…
0
votes
1 answer

Resize images inside slides with PHPPowerPoint

I'm using the PHPPowerPoint lib to generate some powerpoint files. The problem is that the images that are coming from the server are too big, and are breaking the limits of the slide. Here is some code that I'm using for the…
churros
  • 419
  • 1
  • 8
  • 20
0
votes
1 answer

How to increase thickness of border for a rectangle in PHPPowerPoint?

I want to create a graph (Risk Matrix, Risk Waterfall in PowerPoint) for a PM tool I am developing. In the waterfall I have created on the Y axis, rotated labels. But those labels do not respond to thickness change in the code. The rectangles look…
Vahe
  • 1,699
  • 3
  • 25
  • 76
1
2 3