Create a CellProtection object used for cell styles.
is.CellProtection(x)
CellProtection(locked = TRUE, hidden = FALSE)
A CellProtection object, as returned by CellProtection
.
a logical indicating the cell is locked.
a logical indicating the cell is hidden.
CellProtection
returns a list with components from the input
argument, and a class attribute "CellProtection". CellProtection objects
are used when constructing cell styles.
is.CellProtection
returns TRUE
if the argument is of class
"CellProtection" and FALSE
otherwise.
CellStyle
for using the a CellProtection
object.
font <- CellProtection(locked=TRUE)