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, ...)

Arguments

doc

document object

...

further arguments passed to other methods

value

"character" value to use as subtitle text

Value

a document object

Details

Subtitle shape only exist in slide of type 'Title Slide'.

See also

pptx

Examples

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 )