Questions tagged [phppresentation]

PHPPresentation is a library written in pure PHP that provides a set of classes to write to different presentation file formats, i.e. Microsoft Office Open XML (OOXML or OpenXML) or OASIS Open Document Format for Office Applications (OpenDocument or ODF).

PHPPresentation is a library written in pure PHP that provides a set of classes to write to different presentation file formats, i.e. Microsoft Office Open XML (OOXML or OpenXML) or OASIS Open Document Format for Office Applications (OpenDocument or ODF).

Source: https://github.com/PHPOffice/PHPPresentation

53 questions
0
votes
1 answer

Ppt to image by using php with pure php code (PHPOffice/PHPPresentation)

I want to make image from ppt/pptx. I can read ppt by using PHPOffice/PHPPresentation, but I can't convert it into images. require_once 'src/PhpPresentation/Autoloader.php'; \PhpOffice\PhpPresentation\Autoloader::register(); require_once…
0
votes
1 answer

Making an Underline in PHPPresentation

How to make an underline in PHPPresentation. I just wanted to make an underline for some of my text. Can any of you let me know on this
John
  • 565
  • 8
  • 23
0
votes
1 answer

How to use custom colors for background in phppresentation slide

I want to be able to use custom colors but can't seem to get around the styleColor constants. How can I enter my own colors like #008080 // Create slide echo date('H:i:s') . ' Create slide'.EOL; $oSlide1 =…
user2332467
  • 119
  • 1
  • 11
0
votes
1 answer

Reduce file size of pptx files using PHP

I am generating PPTX file using this plugin. Each ppt have near about 20 or more images with approx 600-1000 kb of sizes. I am reducing images via PHP and then add them to PPTX. However I am getting PPTX file size 16/17 MB same as of image total. Is…
Parixit
  • 3,829
  • 3
  • 37
  • 61
0
votes
1 answer

Powerpoint charts needs repair

i'm currently working on a project where I need to create powerpoints online. I'm using https://github.com/PHPOffice/PHPPresentation for this. Almost everything works perfectly, besides generating charts. When I open the powerpoint, it says it needs…
pascal zoet
  • 165
  • 1
  • 12
0
votes
1 answer

Why won't any of the PhpPresentation examples work?

I've done the manual install of PhpPresentation (master branch) and I'm trying to run one of the simple examples that come with the package and I can't get it running properly. I've done tons of research on how to resolve, but to no avail. See the…
0
votes
1 answer

PHPPresentation - How to customize filename of served (downloadable in browser) file to not be the filename of the invoking php script?

How do I modify the following script (Summary.php) so that the served PPTX file name is not "Summary.php" and my served file is not named Summary.php.pptx? The technique I am using is to render contents of the PowerPoint file into into the browser…
Vahe
  • 1,699
  • 3
  • 25
  • 76
0
votes
0 answers

How can I add slide to existing ppt with PHP without a error for previous slides?

I want to control my .ppt doc with PHP. I can do it with PHPpresentation very well but when I want to add slides to my existing presentation, I can't do it. How can I add slides to my existing presentation without any problems for previous slides?…
Efe
  • 1
  • 1
0
votes
1 answer

How to change the background color for a PHPPresentation Slide?

I've recently started to work with the PHPPresentation library to create Powerpoint presentations. I need to change the background color of certain slides, I looked over the code samples that they offer and inside the developer documentation, they…
user2962785
0
votes
0 answers

Generate a ppt with all images using php presentation

I am trying to generate a ppt using PHPPresentation-https://github.com/PHPOffice/PHPPresentation which has all the slides with images. And the size of images can vary from 10-15mb or even more.. which is the requirement of project to have high…
0
votes
1 answer

How to merge cells in a table in PHPPresentation

I'm trying to merge cells in a table using PHPPresentation, but i don't find any method to do it, how I can do it? Thanks in advance.
user3842220
0
votes
1 answer

Install phppresentation in codeigniter framework

I tried installing phppresentation library in codeigniter framework. But in codeigniter can't able to use namespace. So how to integrate ?
0
votes
1 answer

PHPPresentation file with 2 slides requires repair

I'm working on a script to create a presentation with multiple slides. When I add the first slide the script works fine. $colorBlack = new Color('FF000000'); $objPHPPresentation = new…
user2332467
  • 119
  • 1
  • 11
0
votes
1 answer

Shade the area below line chart - PHPpresenatation

I am making the PPT using PHPpresentation library. In that I have create the line chart, but am unable to color the area below the line. this i how it is coming. but i want something like this Thanks in advance.
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…