PHPPresentation icon indicating copy to clipboard operation
PHPPresentation copied to clipboard

can not read PPTX

Open NiZerin opened this issue 1 year ago • 3 comments

$ppt = \PhpOffice\PhpPresentation\IOFactory::load($pptPath);

PhpOffice\PhpPresentation\Reader\PowerPoint2007::loadShapeRichText(): Argument #3 ($oSlide) must be of type PhpOffice\PhpPresentation\Slide\AbstractSlide, PhpOffice\PhpPresentation\Slide\Note given, called in /www/convert_center/vendor/phpoffice/phppresentation/src/PhpPresentation/Reader/PowerPoint2007.php on line 1375

NiZerin avatar Mar 25 '24 04:03 NiZerin

Same issue, trying use another file, got this: PhpOffice\PhpPresentation\Shape\RichText\Paragraph::setSpacingBefore(): Argument #1 ($spacingBefore) must be of type int, float given

uziins avatar May 03 '24 04:05 uziins

@uziins @NiZerin Hi, Could you send me a sample file with error, please, for reproducing the bug ?

Progi1984 avatar Aug 21 '24 21:08 Progi1984

@Progi1984 test-template.pptx

I just tried again with a blank slide, still error

uziins avatar Aug 22 '24 08:08 uziins

@NiZerin @uziins This issue has been fixed by a maintainer. You can help him by sponsoring him through Github sponsors.

Progi1984 avatar Sep 05 '24 07:09 Progi1984