get_layout: Layout selection helper

View source: R/pptx_layout_helper.R

get_layoutR Documentation

Layout selection helper

Description

Select a layout by name or index. The master name is inferred and only required for disambiguation in case the layout name is not unique across masters.

Usage

get_layout(x, layout, master = NULL)

Arguments

x

An rpptx object.

layout

Layout name or index. Index refers to the row index of the layout_summary() output.

master

Name of master. Only required if layout name is not unique across masters.

Value

A ⁠<layout_info>⁠ object, i.e. a list with the entries index, layout_name, layout_file, master_name, master_file, and slide_layout.


officer documentation built on Oct. 10, 2024, 1:06 a.m.