PPT.AddTitleSlide: Add a title slide to current PowerPoint presentation

Description Usage Arguments Value Warning Author(s) References See Also Examples

Description

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

Usage

1
PPT.AddTitleSlide(ppt, title = NULL, subtitle = NULL, title.font = NULL, title.fontsize = NULL, subtitle.font = NULL, subtitle.fontsize = NULL)

Arguments

ppt

Required list of COM objects as initialised by PPT.Init. See example.

title

Optional title text.

subtitle

Optional subtitle text.

title.font

Optional character title font.

title.fontsize

Optional numeric title font size.

subtitle.font

Optional character subtitle font.

subtitle.fontsize

Optional numeric subtitle font size.

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 '[email protected]'

References

See http://sunsite.univie.ac.at/rcom for more details on rcom and http://www.omegahat.org/RDCOMClient/ for more details on RDCOMClient.

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
myPres<-PPT.Init() 
#or 
#myPres<-PPT.Init(method="RDCOMClient")
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 May 30, 2017, 7:32 a.m.