getFtBorderFromCssBorder: Convert CSS border values to those used by the flextable...

View source: R/styleParsing.R

getFtBorderFromCssBorderR Documentation

Convert CSS border values to those used by the flextable 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

getFtBorderFromCssBorder(text)

Arguments

text

The border declaration to parse.

Value

A list containing two elements: width, style and color.


basictabler documentation built on June 8, 2025, 10:52 a.m.