PPT.UpdateCurrentSlide: Update the current slide stored in R2PPT object

View source: R/utils.R

PPT.UpdateCurrentSlideR Documentation

Update the current slide stored in R2PPT object

Description

R2PPT uses an object to store the current slide amongst other things. Unfortunately the current slide is only set when a new slide is inserted. It is NULL when a file is loaded. This will cause errors sometimes, hence we may need to set it manually.

Usage

PPT.UpdateCurrentSlide(ppt, i = NULL, slide = NULL)

Arguments

ppt

The ppt object as used in R2PPT.

i

Slide index.

slide

A slide object as alternative to setting the index.

Author(s)

Mark Heckmann


markheckmann/R2PPTaddons documentation built on Oct. 16, 2023, 8:03 p.m.