Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 15 16:19

    github-actions[bot] on gh-pages

    deploy: 5bcb57f54d88f89ade72f2b… (compare)

  • Sep 15 16:14

    Progi1984 on develop

    Added support for PHP 8.1 Merge pull request #661 from Pr… (compare)

  • Sep 15 16:14
    Progi1984 closed #661
  • Sep 15 16:14
    Progi1984 milestoned #661
  • Sep 13 06:24
    Shweta-Grover9 commented #148
  • Sep 10 07:33
    mindline-analytics commented #676
  • Sep 09 12:05

    github-actions[bot] on gh-pages

    deploy: 6bea4962b38c893f08647ae… (compare)

  • Sep 09 12:00
    Progi1984 milestoned #544
  • Sep 09 12:00
    Progi1984 demilestoned #544
  • Sep 09 12:00
    Progi1984 milestoned #435
  • Sep 09 12:00
    Progi1984 demilestoned #435
  • Sep 09 12:00
    Progi1984 milestoned #432
  • Sep 09 12:00
    Progi1984 demilestoned #432
  • Sep 09 12:00
    Progi1984 milestoned #366
  • Sep 09 12:00
    Progi1984 demilestoned #366
  • Sep 09 12:00
    Progi1984 milestoned #354
  • Sep 09 12:00
    Progi1984 demilestoned #354
  • Sep 09 12:00
    Progi1984 milestoned #352
  • Sep 09 12:00
    Progi1984 demilestoned #352
  • Sep 09 12:00
    Progi1984 milestoned #347
Thomas Citharel
@tcitworld
no
not that i know of
ThaDaVos
@ThaDaVos
Oh I thought that PHPOfficePHPPresentation was made for that
My mistake
Thomas Citharel
@tcitworld
PHPOffice is a toolbox / library to work with files, not a ready-to-use app
ThaDaVos
@ThaDaVos
I know, but I thought it was capable of playing a powerpoint presentation with animations in the browser
Thomas Citharel
@tcitworld
Nah. I wanted to work on that to import .ppt into Framaslides, but never got the time.
If you want animations in the browser and all that sort of stuff, checkout impress.js, but it's only html
ThaDaVos
@ThaDaVos
Ah, thanks for your time then but this isn't what I'm looking for.
Thanks for the info, I'll take a look, have a nice day
Progi1984
@Progi1984
@tcitworld Thanks for the support :)
Thomas Citharel
@tcitworld
o/
Julio Henrique
@juliohds
any know about bug in images with slide master?
Adrien Crivelli
@PowerKiKi
@Progi1984, PhpPresentation first release is about 4 years old (and last release ~6 months old), shouldn't we release a 1.0.0 soonish to show that the project is mature and has been production ready for a while ?
slolo2000
@slolo2000

Hello, when trying to load pptx file I have the following error:
Warning: imagecreatefromstring(): Data is not in a recognized format in D:\Test\vendor\phpoffice\phppresentation\src\PhpPresentation\Reader\PowerPoint2007.php on line 731
Warning: imagesx() expects parameter 1 to be resource, boolean given in D:\Test\vendor\phpoffice\phppresentation\src\PhpPresentation\Shape\Drawing\Gd.php on line 78
Warning: imagesy() expects parameter 1 to be resource, boolean given in D:\Test\vendor\phpoffice\phppresentation\src\PhpPresentation\Shape\Drawing\Gd.php on line 79

In fact, in the pptx file there is an "image". I suspect that this image was paste from a Word document because when I save it from pptx file, PowerPoint save it as .emf file
So, is PhpPresentation really support this type of object?

Otherwise, do I have to load document like this (with @ in order to skip warning):
$docPpt = @PhpPresentation\IOFactory::load($inputFileName);

Thanks in advance and have a nice day.

mhasanshahid
@mhasanshahid
I have a question related to scatter plot. It takes a series with an array. Inside that array we have key => value pairs. I suppose X as a key and Y as a value and it creates my scatter chart with X Y value. But the problem is that my X values can repeat, but as a key of an array it should always be unqiue
how can i resolve this?
@Progi1984
mhasanshahid
@mhasanshahid
PHPPresentation uses PHPExcel for writer of pptcharts, but at the same time the library phpexcel itself says its depricated and should not be used, and spreadsheet should be used. @Progi1984
Progi1984
@Progi1984
@juliohds Could you open an issue, please ?
@PowerKiKi I have some fu**ing problems with validation before that, but it's in my pipe ;)
@slolo2000 Actually, PhpPresentation doesn't manage EMF file (like PhpWord : PHPOffice/PHPWord#1480 & PhpSpreadsheet : https://github.com/PHPOffice/PhpSpreadsheet/issues/274) But you can open an issue, i will try to create a solution for all PhpOffice libraries
@mhasanshahid Have you looked at the samples ?
@mhasanshahid I open an issue, and I have applied a label Hacktoberfest for attracting developers to make a PR for Hacktoberfest (https://hacktoberfest.digitalocean.com)
janetthecoder
@janetthecoder

Hey @Progi1984 It seems like PowerPoint 2007 can't open files (correctly) created with PHPPresentation.
Text is an issue, it appears white, and spacing is not correct.

I was wondering if there is a temporary fix I could make so that at least the simple PPTs we are making can show up correctly in PowerPoint 2007.

Btw, total respect to you/your team for this. It is an incredible library.
Progi1984
@Progi1984
@janetthecoder What is the problem ? The render or the open in Office ?
Could you update the ticket with some sample code ?
janetthecoder
@janetthecoder
Continuing this on #494
janetthecoder
@janetthecoder
Hi, I've replied with the sample code @Progi1984
Progi1984
@Progi1984
@janetthecoder Perfect
janetthecoder
@janetthecoder
Let me know if I can be of assistance.
Progi1984
@Progi1984
@janetthecoder We are open to pull requests ;)
janetthecoder
@janetthecoder
@Progi1984 Really sorry
I don't know or understand the library well enough to fix this at this point, it could take me months to understand the inner workings. :)
janetthecoder
@janetthecoder
@Progi1984 I was hoping to hear back from you. Any luck with the issue of PowerPoint 2007? :)
Progi1984
@Progi1984
@janetthecoder Actually no news on this ticket. I work on a XSD for validating but it's no so simple.
Van Tristan
@Noctis17
hello and good day! is there anyone I can talk to about PHPPresentation?
Hello? anyone please?
Van Tristan
@Noctis17
sir @PowerKiKi are you online?
sir @Progi1984 are you online?
Van Tristan
@Noctis17

Hello dear Developers and Admins, good day! I would like to inquire about my problem when I'm trying to include charts in the ppt file

I created a Stackoverflow inquiry: https://stackoverflow.com/questions/55643754/phppresentation-not-showing-charts-using-codeigniter-on-php-5-6

Summary: way back in my Laravel 5.8, the generated PPT file displays the charts, but then I was tasked to copy the codes in our legacy system which is developed using CodeIgniter 3 (with PHP 5.6), the PPT file is now considered corrupted or generates blank page to the supposed to be slides that has charts, is there anyone who is knowledgeable about this? :(
Van Tristan
@Noctis17
sir @Progi1984
Progi1984
@Progi1984
Hi all... I currently back on PhpPresentation :)
@/all Who is using PhpPresentation with PHP < 7.0 ?
@MarkBaker @PowerKiKi What is your policy for PHP Support in PhpSpreadsheet ?
Thanks for the feedback
Progi1984
@Progi1984
Victory : the develop branch is now back in green :green_heart: ! And my PPTX & ODP files are now validated against standards :)
Adrien Crivelli
@PowerKiKi
@Progi1984 https://gitter.im/PHPOffice/PhpSpreadsheet?at=5c28527c2863d8612badd274 we recently agreed to support PHP 7.1+
@Progi1984 This should match our officiallz published policy: https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support
I encourage you to do the same, and also to release a 1.0.0 of all your project
Progi1984
@Progi1984
Thank you... It's on the way ;)
Adrien Crivelli
@PowerKiKi
i'm thinking about phpword too