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

조회 수: 4 (최근 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