Open jmagnone opened 7 years ago
I have similar problem.
When doing this:
$pptReader = IOFactory::createReader('PowerPoint2007'); $oPHPPresentation = $pptReader->load('my_file.pptx'); echo write($oPHPPresentation, basename(__FILE__, '.php'), $writers);
I'm getting almost the same file, just all styling and images are missing :(
Any workaround for that?
Thanks!
@jmagnone Hi, have you got a sample file ?
I am trying to use the library for the first time to edit some text placeholders in a presentation (pptx or odp).
After loading the presentation with:
and then writing it to the output file as follows (where $writer is any of the available writers):
the final presentation's shapes lost many of its styles and properties. Also, images embedded in the slide are lost.
A few comments:
Input example:
Output example (pptx):
Output example (odp):
Example of code snippet:
Screenshot showing some properties that were lost:
Any ideas how to troubleshoot this?
Regards, Julian