scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.35k stars 510 forks source link

Feature: Convenience method to get a shape by its name #798

Open lthamm opened 2 years ago

lthamm commented 2 years ago

I find it very unpleasant in complex, living documents to work with the idx of a shape, because it always requires a map of idx to the shape. The signature of the proposed _BaseShape.get_by_name is equal to the one of the method for layouts.

timhoffm commented 2 years ago

Closes #309.