PPT.AddBlankSlide: Add a Blank Slide to current PowerPoint presentation

PPT.AddBlankSlideR Documentation

Add a Blank Slide to current PowerPoint presentation

Description

Adds a slide to the current PowerPoint presentation of Microsoft type 'ppLayoutBlank'.

Usage

PPT.AddBlankSlide(ppt)

Arguments

ppt

List of COM objects as initialised by PPT.Init. See example.

Value

ppt

Invisibly returns a list of COM objects.

Warning

You must save the returned list of COM objects initialised with PPT.Init to an R object. See the example.

Author(s)

Wayne Jones wayne.w.jones@shell.com

References

See https://github.com/omegahat/RDCOMClient for more details on RDCOMClient and https://github.com/waynegitshell/R2PPT/ for R2PPT source code.

See Also

PPT.Init,PPT.AddTitleSlide,PPT.AddTextSlide,
PPT.AddTitleOnlySlide,PPT.Present,PPT.ApplyTemplate,PPT.AddGraphicstoSlide

Examples


## Not run: 
myPres<-PPT.Init() 
myPres<-PPT.AddBlankSlide(myPres)
myPres<-PPT.AddTitleSlide(myPres,title="Title Slide",subtitle="Subtitle here")
myPres<-PPT.AddTitleOnlySlide(myPres,title="Title Only",title.fontsize=40,title.font="Arial")
myPres<-PPT.AddTextSlide(myPres,title="Text Slide",text="Text1 \rText2 \rText3",text.font="Arial")
rm(myPres)

## End(Not run) 


R2PPT documentation built on April 26, 2022, 5:08 p.m.