annotate_base: annotate PowerPoint base document

Description Usage Arguments Value Examples

View source: R/read_pptx.R

Description

generates a slide from each layout in the base document to identify the placeholder indexes, master names and indexes.

Usage

1
annotate_base(path = NULL, output_file = "annotated_layout.pptx")

Arguments

path

path to the pptx file to use as base document or NULL to use the officer default

output_file

filename to store the annotated powerpoint file or NULL to suppress generation

Value

x rpptx object of the annotated PowerPoint file

Examples

1
2
3
4
5
6
# To generate an anotation of the default base document with officer:
annotate_base(output_file = tempfile(fileext = ".pptx"))

# To generate an annotation of the base document 'mydoc.pptx' and place the
# annotated output in 'mydoc_annotate.pptx'
# annotate_base(path = 'mydoc.pptx', output_file='mydoc_annotate.pptx')

officer documentation built on July 24, 2018, 9:02 a.m.