-
Notifications
You must be signed in to change notification settings - Fork 546
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
feature: Shape.shadow and ShadowFormat object #130
Comments
The shadows are not added by python-pptx, they are inherited by each shape from the presentation defaults. If you create your own 'template' presentation file to start off new presentations and change the setting in there to turn shadow off, I think you'll achieve the effect you're after. Be sure you understand this page in the documentation: |
Thanks; oddly enough any new shapes added to the template by hand do not have a shadow, but I'll continue testing. |
For reference, I did two things to get rid of the shadows: 1) Drew a rectangle (without a shadow) and set it as a default for all shapes; 2) Edited the master master slide and chose "Effects" >> "Office". Not sure which one took care of the issue. Cheers. |
pretty sure its the "set it as default" that applied against all future shapes |
@g2010a you just saved me! Both 1) and 2) where necessary to make the shadow go away. Office 365. |
Thank you @g2010a and @bjorn-bakken I can confirm that both (1) and (2) was necessary for me with Office 365. |
Hi, inserted shapes always appear with shadows when I create presentations. Is there a way to remove the shadows? If not, could it please be implemented?
Version: 0.5.1
Code: any of the examples that insert shapes
Cheers
The text was updated successfully, but these errors were encountered: