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
2 answers

How to add new font in PhpPresentation

I am trying to make a presentation from Laravel using the PhpPresentation library. I want to change the font of the presentation from default to "Century Gothic". Using ->setName($pValue = 'Century Gothic'); is not working.
0
votes
1 answer

How to remove text from cell in table by PhpPresentation?

these days I started with PHP-Presentation. I load a presentation and try to remove the value form a cell. But there is no function to clear a cell. I've just found addText() and createText(). public function modTable($slide = null){ …
michael-mammut
  • 2,595
  • 5
  • 28
  • 46
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
-1
votes
2 answers

How to access public const LINE_DOUBLE using string of library phppresentation

i want to access LINE_DOUBLE from the Border Library of phppresentation using string "LINE_DOUBLE" have tried using constant() but no luck any other solution will be very helpful use PhpOffice\PhpPresentation\PhpPresentation; use…
-1
votes
2 answers

Unable to download file (PPTX) in AngularJS

Scenario I want to make an existing PHP script dynamically generating a PPTX (Microsoft PowerPoint File) (Risk Mitigation Event Summary) accessible via an API call to specifically cause AngularJS front end to download the file. So far my script…
Vahe
  • 1,699
  • 3
  • 25
  • 76
-1
votes
1 answer

How to remove duplicate text from slides in PHP Presentation?

I made a simple presentation and get text and images from mysql. For example I have one text and 5 images. There must be 2 images per slide. But the problem is the text duplicates in while loop on every slide. Example: This is how it works now: …
-1
votes
2 answers

Is there a way to download pptx file with PHPPresentation?

I am using PHPPresentation for the first time and everything works fine, but I don't want to save file to some destination, I want to download that file through web browser. How to do that? Please help. This is code to save file on some…
-2
votes
1 answer

How to install PhpPresentation

I've manually installed PhpPresentation from GitHub on Windows server 2008 (IIS 7) But when I run example from this installation - it does not work and show different errors. I managed to fix few errors. But right now it show error that I can not…
user3424840
  • 207
  • 2
  • 3
  • 8
1 2 3
4