MATLAB Answers

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

4 views (last 30 days)
farzad
farzad on 16 May 2020
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 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by