Open
Description
Hey folks. I'm trying to open a .pptx template file, add my data and write it back as .pptx. However, if I just open the file and write it back, the layout is somehow destroyed.
Here's my code:
$reader = IOFactory::createReader('PowerPoint2007');
$presentation = $reader->load('template.pptx');
$writer = IOFactory::createWriter($presentation, 'PowerPoint2007');
$writer->save('result.pptx');
This is how the template looks like:
I attached my template file:
template.pptx
This issue might be related to #718