Return appropriate shape object for `shape_elm` on a slide.
(shape_elm: ShapeElement, parent: ProvidesPart)
| 861 | |
| 862 | |
| 863 | def SlideShapeFactory(shape_elm: ShapeElement, parent: ProvidesPart) -> BaseShape: |
| 864 | """Return appropriate shape object for `shape_elm` on a slide.""" |
| 865 | if shape_elm.has_ph_elm: |
| 866 | return _SlidePlaceholderFactory(shape_elm, parent) |
| 867 | return BaseShapeFactory(shape_elm, parent) |
| 868 | |
| 869 | |
| 870 | class _MoviePicElementCreator(object): |
searching dependent graphs…