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

6 次查看(过去 30 天)
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 ?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by