ph_from_xml {officer} | R Documentation |
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)
x |
a pptx device |
value |
a character |
type |
placeholder type (i.e. 'body', 'title') |
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', the first
one will be added with index 1 and the second one with index 2.
It is recommanded to use argument |
left, top |
location of the new shape on the slide |
width, height |
shape size in inches |