Open Tom-Kingstone opened 3 months ago
@jamesramsden-bh suggested an extra layer of abstraction that would allow a user to use the template file to create slides without having to know the names of every element in the layouts. This would template the 11 default office theme slide layouts.
The original intention of the functionality would remain so that users can use custom slide masters.
I think it would also be valuable to be able to create a new slide from a slide master layout, and to be able to replace shapes with pictures as well (as picture placeholders are defined as
Shape
in theShapeTree
). I have a bit of code here that creates new slides from the master layout:Where SetSlideID is the following:
It needs a bit of tidying up (I think setting slide ID could be done better), but it's a good start
_Originally posted by @Tom-Kingstone in https://github.com/BHoM/PowerPoint_Toolkit/issues/15#issuecomment-2167416276_