ReporteRs (version 0.5)

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 pptx
addFooter (doc, value, ...)

Arguments

doc

Object of class "pptx"

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, addFooter

Examples

Run this code
# NOT RUN {
#START_TAG_TEST

# Create a new document
doc = pptx( title = "title" )

# add a slide with layout "Title Slide"
doc = addSlide( doc, slide.layout = "Title Slide" )
doc = addTitle( doc, "Presentation title" ) #set the main title
doc = addSubtitle( doc , "This document is generated with ReporteRs.")#set the sub-title

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

writeDoc( doc, "addFooter_example.pptx" )
#STOP_TAG_TEST
# }

Run the code above in your browser using DataCamp Workspace