slide_summary
From officer v0.3.4
by David Gohel
get PowerPoint slide content in a tidy format
get content and positions of current slide into a data.frame. Data for any tables, images, or paragraphs are imported into the resulting data.frame.
Usage
slide_summary(x, index = NULL)
Arguments
- x
rpptx object
- index
slide index
Note
The column id
of the result is not to be used by users.
This is a technical string id whose value will be used by office
when the document will be rendered. This is not related to argument
index
required by functions ph_with_zzz
.
Examples
# NOT RUN {
library(magrittr)
my_pres <- read_pptx() %>%
add_slide(layout = "Two Content", master = "Office Theme") %>%
ph_with_text(type = "dt", str = format(Sys.Date())) %>%
add_slide(layout = "Title and Content", master = "Office Theme")
slide_summary(my_pres)
slide_summary(my_pres, index = 1)
# }
Community examples
Looks like there are no examples yet.