createHeaderStyles: Create (Multiple) Header Styles

View source: R/xl-style.R

createHeaderStylesR Documentation

Create (Multiple) Header Styles

Description

A wrapper around openxlsx::createStyle(). Each arguments of this functions automatically recycled.

Usage

createHeaderStyles(
  n = 1,
  fgFills = NULL,
  halign = "center",
  valign = "center",
  textDecoration = "Bold",
  border = "TopBottomLeftRight",
  ...
)

Arguments

n

Number of header styles to generate

fgFills

foreground fills. If NULL, generate automatically.

halign

Horizontal alignment of cell contents

valign

A name Vertical alignment of cell contents

textDecoration

Text styling.

border

Cell border. A vector of "top", "bottom", "left", "right" or a single string).

...

args passed to openxlsx::createStyle

Value

A list of S4 Style object


Lightbridge-KS/lbdoc documentation built on May 16, 2024, 3:03 p.m.