getStyles: Returns a list of all styles in the workbook

View source: R/wrappers.R

getStylesR Documentation

Returns a list of all styles in the workbook

Description

Returns list of style objects in the workbook

Usage

getStyles(wb)

Arguments

wb

A workbook object

See Also

replaceStyle()

Examples

## load a workbook
wb <- loadWorkbook(file = system.file("extdata", "loadExample.xlsx", package = "openxlsx"))
getStyles(wb)[1:3]

openxlsx documentation built on Sept. 20, 2024, 5:08 p.m.