ph_from_xml
From officer v0.3.4
by David Gohel
add an xml string as new shape
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 (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
location
instead oftype
andindex
.- left, top
location of the new shape on the slide
- width, height
shape size in inches
Community examples
Looks like there are no examples yet.