Return appropriate shape object for `shape_elm` on a notes slide.
(shape_elm: ShapeElement, parent: ProvidesPart)
| 835 | |
| 836 | |
| 837 | def _NotesSlideShapeFactory(shape_elm: ShapeElement, parent: ProvidesPart) -> BaseShape: |
| 838 | """Return appropriate shape object for `shape_elm` on a notes slide.""" |
| 839 | if isinstance(shape_elm, CT_Shape) and shape_elm.has_ph_elm: |
| 840 | return NotesSlidePlaceholder(shape_elm, parent) |
| 841 | return BaseShapeFactory(shape_elm, parent) |
| 842 | |
| 843 | |
| 844 | def _SlidePlaceholderFactory(shape_elm: ShapeElement, parent: ProvidesPart): |
searching dependent graphs…