slide=add(ppt, 'Title and Content') is not working when using a PowerPoint Template

4 views (last 30 days)
Hi All
I am using a powerpoint Template in my powerpoint presentation generation, where under the Master slide, I have one layout, and I first called it a one word name : 'Context' , and noticed that I can not refer to it when I wanted to add a Title or a Content. It is not clear , whether the layout should actually contain one 'Title' and one 'Content' place holder or it should be just the name of the layout !
So, I renamed my template's layout to 'Title and Content' , now the code manages to grab the Template and add one new Slide, but it can't add any of the text I have introduced via :
replace(ppt,'Content', 'my text to be written')
command.
Should I also generate two place holders with names Title and Content ?

Answers (0)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!