ReporteRs (version 0.7.7)

addFooter.pptx: Insert a footer shape into a document pptx object

Description

Insert a footer shape into the current slide of a pptx object.

Usage

## S3 method for class 'pptx':
addFooter(doc, value, ...)

Arguments

doc
pptx object
value
character value to add into the footer shape of the current slide.
...
further arguments, not used.

Value

  • a document object

See Also

pptx, addDate.pptx , addPageNumber.pptx

Examples

Run this code
doc.filename = "addFooter_example.pptx"

# set default font size to 24
options( "ReporteRs-fontsize" = 24 )

doc = pptx( title = "title" )
# add a slide with layout "Title Slide"
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.")

## add a page number on the current slide
doc = addFooter( doc, "Hi!" )

# Write the object
writeDoc( doc, file = doc.filename )

Run the code above in your browser using DataCamp Workspace