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

View source: R/styleParsing.R

getXlBorderFromCssBorderR Documentation

Convert CSS border 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)

Arguments

text

The border declaration to parse.

Value

A list containing two elements: style and color.


pivottabler documentation built on Oct. 1, 2023, 5:07 p.m.