Add a subtitle shape into a document object
Add a addSubtitle shape into a pptx
object.
addSubtitle(doc, ...) # S3 method for pptx addSubtitle(doc, value, ...)
doc | document object |
---|---|
... | further arguments passed to other methods |
value |
|
a document object
Subtitle shape only exist in slide of type 'Title Slide'.
doc.filename = "addSubtitle_example.pptx" doc <- pptx() doc <- addSlide( doc, slide.layout = "Title Slide" ) #set the main title doc <- addTitle( doc, "Presentation title" ) #set the sub-title doc <- addSubtitle( doc , "This document is generated with ReporteRs.") writeDoc( doc, file = doc.filename )