convert_pptx: Extract xml from pptx

Description Usage Arguments

View source: R/export.R

Description

Extract xml from pptx

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
convert_pptx(
  path,
  author = NULL,
  title = NULL,
  sub = NULL,
  date = Sys.Date(),
  theme = "default",
  highlightStyle = "github",
  force = FALSE,
  writenotes = TRUE,
  out_dir = "."
)

Arguments

path

Path to the Microsoft PowerPoint file

author

Optional string indicating the author or authors of the slide. Defaults to the listed creator of the pptx.Multiple authors can be provided with a string vector.

title

Optional title of the slide deck. Defaults to the title of the first slide in the deck.

sub

Optional subtitle

date

The date the slides were produced. Defaults to current date.

theme

The css theme to apply to the xaringan slides. For options, see here. Note that only the name of the theme needs to be applied (e.g., theme = "metropolis") and the proper code will be applied to load both the theme and the fonts, although this can easily be manually manipulated after conversion if you want other fonts with a specific theme.

highlightStyle

The code highlighting style. Defaults to "github" flavored highlighting

force

If an 'assets' folder already exists in the current directory, (e.g., from a previous conversion) should it be overwritten? Defaults to FALSE.

writenotes

Logical. If notes are in the original PPTX, should they be written out as their own .txt file in addition to being embedded in the slides? Defaults to TRUE.

out_dir

Optional output directory for the folder containing the RMD and corresponding assets. Defaults to the current working directory.


datalorax/slidex documentation built on Oct. 31, 2020, 9:17 a.m.