Basic functions

lay_new() layCreate()

Create custom layout.

lay_show() layShow()

Print the layout structure to the graphical device.

lay_set() laySet()

Set custom layout.

lay_grid() layGrid()

Use Layout object with grid graphics.

Combine layouts

lay_bind_col() layColBind()

Take two Layout objects and combine by rows.

lay_bind_row() layRowBind()

Take two Layout objects and combine by rows.

lay_split_field() laySplitField()

Split a selected field from layout using a schema from another layout.

PowerPoint - add elements to slides

phl_layout()

Create layout for the officer PowerPoint slide.

phl_with_gg()

add ggplot into layout placeholder

phl_with_plot()

add plot into layout placeholder

phl_with_text()

add text into layout placeholder

phl_with_table()

add table into layout placeholder

phl_with_flextable()

add flextable into layout placeholder

phl_with_vg()

add a plot as vector graphics into layout placeholder

PowerPoint - utils

phl_adjust_table()

Create flextable for layout's placeholder.

phl_calc_fontsize()

Calculate optimal fontsize and height of the cell for given height for flextable.

Other

print(<CustomLayout>)

Print a CustomLayout object.

print(<OfficerCustomLayout>)

Print a OfficerCustomLayout object.