add_slide {officer}R Documentation

Add a slide

Description

Add a slide into a pptx presentation.

Usage

add_slide(x, layout = "Title and Content", master = "Office Theme")

Arguments

x

an rpptx object

layout

slide layout name to use

master

master layout name where layout is located

See Also

print.rpptx(), read_pptx(), plot_layout_properties(), ph_with(), layout_summary()

Other functions slide manipulation: move_slide(), on_slide(), remove_slide(), set_notes()

Examples

my_pres <- read_pptx()
layout_summary(my_pres)
my_pres <- add_slide(my_pres,
  layout = "Two Content", master = "Office Theme"
)

[Package officer version 0.6.6 Index]