ph_from_xml

0th

Percentile

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 of type and index.

left, top

location of the new shape on the slide

width, height

shape size in inches

Aliases
  • ph_from_xml
  • ph_from_xml_at
Documentation reproduced from package officer, version 0.3.5, License: GPL-3

Community examples

Looks like there are no examples yet.