CellStyle-plus {xlsx} | R Documentation |
CellStyle construction.
Description
Create cell styles.
Usage
## S3 method for class 'CellStyle'
cs1 + object
Arguments
cs1 |
a |
object |
an object to add. The object can be another
|
Details
The style of the argument object takes precedence over the style of argument cs1.
Value
A CellStyle object.
Author(s)
Adrian Dragulescu
Examples
## Not run:
cs <- CellStyle(wb) +
Font(wb, heightInPoints=20, isBold=TRUE, isItalic=TRUE,
name="Courier New", color="orange") +
Fill(backgroundColor="lavender", foregroundColor="lavender",
pattern="SOLID_FOREGROUND") +
Alignment(h="ALIGN_RIGHT")
setCellStyle(cell.1, cellStyle1)
# you need to save the workbook now if you want to see this art
## End(Not run)
[Package xlsx version 0.6.5 Index]