Description

class Axlsx::ProtectedRange
Note:

the recommended way to manage protected ranges with via Worksheet#protect_range

The Protected Range class represents a set of cells in the worksheet

Returns a new instance of ProtectedRange

Parameters:

  • [String] (Hash)

    a customizable set of options

Yields:

  • (_self)

Yield Parameters:

  • _self (Axlsx::ProtectedRange)

    the object that the method was called on

The name of the protected range

The reference for the protected range

serializes the proteted range our output to that object. Use this - it helps limit the number of objects created during serialization

Parameters:

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

    if this string object is provided we append

ProtectedRange is referenced in 0 repositories