phl_with_text: add text into layout placeholder

Description Usage Arguments Value

View source: R/officer.R

Description

add text into layout placeholder

Usage

1
phl_with_text(x, olay, id, str, type = "title", ...)

Arguments

x

rpptx object

olay

an OfficerLayout object created using phl_layout

id

an single integer with an id of the placeholder from olay object.

str

text to add.

type

type of the text placeholder. See ph_add_text for more details.

...

other arguments passed to ph_add_text.

Value

rpptx object which represents PowerPoint presentation in officer. The returned object contains a new element on the slide.


zzawadz/customLayout documentation built on June 9, 2021, 11:10 a.m.