addSubtitle
From ReporteRs v0.8.10
by David Gohel
Add a subtitle shape into a document object
Add a subtitle shape into a document object
Add a addSubtitle shape into a pptx
object.
Usage
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
Details
Subtitle shape only exist in slide of type 'Title Slide'.
Value
a document object
See Also
Examples
# NOT RUN {
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 )
# }
Community examples
Looks like there are no examples yet.