Return the workbook default font
Returns the base font used in the workbook.
getBaseFont(wb)
wb | A workbook object |
---|
Alexander Walker
#> $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" #> #>