Add a flextable in a PowerPoint document object produced
by officer::read_pptx()
.
Usage
# S3 method for flextable
ph_with(x, value, location, ...)
Arguments
- x
a pptx device
- value
flextable object
- location
a location for a placeholder. See
officer::ph_location_type()
for example.- ...
unused arguments.
Note
The width and height of the table can not be set with location
. Use
functions width()
, height()
, autofit()
and dim_pretty()
instead. The overall size is resulting from
cells, paragraphs and text properties (i.e. padding, font size, border widths).