officer (version 0.3.16)

empty_content: create empty blocks

Description

an empty object to include as an empty placeholder shape in a presentation. This comes in handy when presentation are updated through R, but a user still wants to write the takeaway statements in PowerPoint.

Usage

empty_content()

Arguments

See Also

ph_with(), body_add_blocks()

Examples

Run this code
# NOT RUN {
fileout <- tempfile(fileext = ".pptx")
doc <- read_pptx()
doc <- add_slide(doc, layout = "Two Content",
  master = "Office Theme")
doc <- ph_with(x = doc, value = empty_content(),
 location = ph_location_type(type = "title") )
print(doc, target = fileout )
# }

Run the code above in your browser using DataCamp Workspace