Return the workbook default font

Returns the base font used in the workbook.

getBaseFont(wb)

Arguments

wb

A workbook object

Author

Alexander Walker

Examples

## create a workbook wb <- createWorkbook() getBaseFont(wb)
#> $size #> $size$val #> [1] "11" #> #> #> $colour #> $colour$rgb #> [1] "FF000000" #> #> #> $name #> $name$val #> [1] "Calibri" #> #>
## modify base font to size 10 Arial Narrow in red modifyBaseFont(wb, fontSize = 10, fontColour = "#FF0000", fontName = "Arial Narrow") getBaseFont(wb)
#> $size #> $size$val #> [1] "10" #> #> #> $colour #> $colour$rgb #> [1] "FFFF0000" #> #> #> $name #> $name$val #> [1] "Arial Narrow" #> #>