Learn R Programming

basictabler (version 1.0.4)

getXlBorderFromCssBorder: Convert CSS border style values to those used by the openxlsx package.

Description

getXlBorderFromCssBorder parses the CSS combined border declarations (i.e. border, border-left, border-right, border-top, border-bottom) and returns a list containing an openxlsx border style and color as separate elements.

Usage

getXlBorderFromCssBorder(text)

Value

A list containing two elements: style and color.

Arguments

text

The border declaration to parse.