Add an xml string as new shape in the current slide. This function is to be used to add custom openxml code.
ph_from_xml(x, value, type = "body", index = 1)ph_from_xml_at(x, value, left, top, width, height)
a pptx device
a character
placeholder type (i.e. 'body', 'title')
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', the first
one will be added with index 1 and the second one with index 2.
It is recommanded to use argument location
instead of type
and
index
.
location of the new shape on the slide
shape size in inches