officer (version 0.1.2)

ph_from_xml: add an xml string as new shape

Description

Add an xml string as new shape in the current slide. This function is to be used to add custom openxml code.

Usage

ph_from_xml(x, value, type = "body", index = 1)

ph_from_xml_at(x, value, left, top, width, height)

Arguments

x
a pptx device
value
a character
type
placeholder type
index
placeholder index (integer). This is to be used when a placeholder type is not unique in the current slide, e.g. two placeholders with type 'body'.
left, top
location of the new shape on the slide
width, height
shape size in inches