I am trying to read slide note from an external .pptx file, however unable to do so. The slideNote property inside PhpOffice\PhpPresentation\Slide\SlideLayout is always null.
Here is my code trying to retrieve note text from a slide
$pptReader = IOFactory::createReader('PowerPoint2007');
$oPHPPresentation = $pptReader->load('Sample_09_SlideNote.pptx');
$slide = $oPHPPresentation->getSlide(0);
var_dump($slide->getNote()->getShapeCollection()); // empty array
Sample_09_SlideNote.pptx
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I am trying to read slide note from an external .pptx file, however unable to do so. The
slideNoteproperty insidePhpOffice\PhpPresentation\Slide\SlideLayoutis alwaysnull.Here is my code trying to retrieve note text from a slide
Sample_09_SlideNote.pptx
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.