Martin Packer
Martin Packer
Copying slides is indeed tricky. And I don't think the from-one-presentation-to-another case has been solved in an "industrial strength" way.
Not personally. For my purposes I need it to be industrial strength.
Calculating the correct size would require using font metrics - which I don't believe python-pptx has access to or understanding of.
If you want to know how long a certain character string is you need font metrics - which describe the width of pairs of neighbouring characters. The only exception to...
That would have to be VBA. Unfortunately you can't inject VBA into a presentation using python-pptx. I seriously doubt you could inject it with your own code - as it's...
BTW Duplicate of [Issue 1033](https://github.com/scanny/python-pptx/issues/1033).
I got THIS working - in case it helps. Improvements gratefully received. This will appear in my [md2pptx]() project - in a modified form - soon: ``` # Draw an...
Are you saying you're trying this with a .ppt file? python-pptx only works with .pptx and .pptm files.
None that I'm aware of. Perhaps load and save to .pptx in PowerPoint first.
The supported way is to build a presentation based off the one with the slides already in. I'm not the developer (@scanny is) but I'm sure copying in is not...