officer (version 0.3.5)

location_eval: eval a location on the current slide

Description

Eval a shape location against the current slide. This function is to be used to add custom openxml code.

Usage

location_eval(location, x)

Arguments

location

a location for a placeholder. It has to be a quosure.

x

an rpptx object

See Also

ph_location, ph_with

Examples

Run this code
# NOT RUN {
library(rlang)
doc <- read_pptx()
doc <- add_slide(doc, layout = "Title and Content",
  master = "Office Theme")
location_eval(quo(ph_location_fullsize()), doc)
# }

Run the code above in your browser using DataLab