Description

class Axlsx::CellProtection
Note:

Using Styles#add_style is the recommended way to manage cell protection.

CellProtection stores information about locking or hiding cells in spreadsheet.

Creates a new CellProtection

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • hidden (Boolean)

    value for hidden protection

  • locked (Boolean)

    value for locked protection

specifies locking for cells that have the style containing this protection

specifies if the cells that have the style containing this protection

Serializes the object

Parameters:

  • str (String) (defaults to: '')

CellProtection is referenced in 0 repositories