CellProtection: Create a CellProtection object.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/CellProtection.R

Description

Create a CellProtection object used for cell styles.

Usage

1
2
3

Arguments

locked

a logical indicating the cell is locked.

hidden

a logical indicating the cell is hidden.

x

A CellProtection object, as returned by CellProtection.

Value

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.

Author(s)

Adrian Dragulescu

See Also

CellStyle for using the a CellProtection object.

Examples

1
  font <-  CellProtection(locked=TRUE)

colearendt/xlsx documentation built on Oct. 11, 2018, 12:23 a.m.