Build ppt
Create ppt template¶
View
>Master Views
>Slide Master
Slide Master
>Insert Slide Master
Insert Placeholder
Home
>Editing
>Select
>Selection panel
> rename/move/delete
Create slide¶
-
Create blank slide
-
Read in template
Add slide¶
Add text/ggplot/flextable in the slide¶
-
Use template to locate
-
Use index to locate
Add external image¶
ph_with(
value = external_img("plot_.png"), # width = 9.2, height = 5.6
location = ph_location_label("content"),
use_loc_size = FALSE # if set to FALSE, external_img width and height will be used
)
Add hyperlink¶
link_text <- fpar(
ftext("xxx ("),
hyperlink_ftext(text = "Link", href = "https://xxxx"),
ftext(")")
)