read_pptx: open a connexion to a 'PowerPoint' file
Description
read and import a pptx file as an R object
representing the document.
The function is called read_pptx because it allows you to initialize an
object of class rpptx from an existing PowerPoint file. Content will be
added to the existing presentation. By default, an empty document is used.
Usage
read_pptx(path = NULL)
Arguments
path
path to the pptx file to use as base document.
master layouts and slide layouts
read_pptx() uses a PowerPoint file as the initial document. This is the original
PowerPoint document where all slide layouts, placeholders for shapes and
styles come from. Major points to be aware of are:
Slide layouts are relative to a master layout. A document can contain one or
more master layouts; a master layout can contain one or more slide layouts.
A slide layout inherits design properties from its master layout but some
properties can be overwritten.
Designs and formatting properties of layouts and shapes (placeholders in a
layout) are defined within the initial document. There is no R function to
modify these values - they must be defined in the initial document.