Create Excel header style. Depends on the openxlsx package. All arguments have default values and are optional to allow parameters to be modified.

h1(
  fill = "#1A1B41",
  color = "#FFFFFF",
  font = "Arial Black",
  size = 10,
  h = "center",
  v = "center",
  style = "Bold",
  border = "Bottom",
  bstyle = "thick",
  ...
)

Arguments

fill

Header foreground fill.

color

Header font color.

font

Header font name.

size

Header font size.

h

Horizontal alignment of header contents.

v

Vertical alignment of header contents.

style

Header text styling.

border

Header cell border.

bstyle

Header border line style.

...

Other arguments to be passed to openxlsx::createStyle().

Value

openxlsx style object.

Author

Ayush Noori