getXlBorderStyleFromCssBorder: Convert CSS border values to those used by the openxlsx package.
Description
getXlBorderStyleFromCssBorder
takes border parameters expressed as a
list (containing elements: width and style) and returns a border style that
is compatible with the openxlsx package.
Usage
getXlBorderStyleFromCssBorder(border)
Arguments
border
A list containing elements width and style.
Value
An openxlsx border style.