This function creates an xls theme for styling exported tables. All its arguments must be `openxlsx` Style objects.
Examples
my_theme <- xls_theme(
title = openxlsx::createStyle(),
col_header = openxlsx::createStyle(),
character = openxlsx::createStyle(),
footnote1 = openxlsx::createStyle(),
footnote2 = openxlsx::createStyle(),
footnote3 = openxlsx::createStyle(),
mergedcell = openxlsx::createStyle()
)
if (FALSE) { # \dontrun{
toxlsx(object = iris, path = tempdir(), theme = my_theme)
} # }