-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createDrawingShape stopped working in 1.1.0 #820
Comments
I'm having the same issue… has anyone found a solution? |
Same problem, I am creating a powerpoint file with an image on each slide all was working corectly, when upgraded to 1.1 only a few slides had images the rest were broken when writing out to PowerPoint2007 |
Quick fix: Change name or description for each image What I got so far Same here. Drawing works the first time but if used again the image does not show. I checked src/PhpPresentation/Shape/Drawing/File.php but is does not have any big changes. Problem is somewhere else... Unpacking the .pptx files: the slides and rels files look fine. In They disappear in src/PhpPresentation/Writer/PowerPoint2007.php Line 98:
Looks like
If you change name or description of the image the hash changes all images show up. Only a hack. Not a real solution, yet. In v1.0.0 In v1.1.0 container is empty in
But it is still in the interface and I think it is used. Should throw an exception? Ah, |
Added setContainer in ShapeCollection::addShape().
I am adding images to a powerpoint and it was working fine in v1.0.
This is the code
Now after updating I just get an empty page with "Content"
It works if I use this, but I want to add them as drawing shapes
The text was updated successfully, but these errors were encountered: