summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/sheet_protection.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-05-30 20:22:41 +0900
committerRandy Morgan <[email protected]>2012-05-30 20:22:41 +0900
commit3e9026bae0dde81eeeb86ee76ee680b4b8878b86 (patch)
tree2801d2282c6e3f663ecaa307c062b84662d8a8ce /lib/axlsx/workbook/worksheet/sheet_protection.rb
parentf7287c1f421a7e71ae34658adb29b30fefb1afe3 (diff)
downloadcaxlsx-3e9026bae0dde81eeeb86ee76ee680b4b8878b86.tar.gz
caxlsx-3e9026bae0dde81eeeb86ee76ee680b4b8878b86.zip
release prep for 1.1.6
Diffstat (limited to 'lib/axlsx/workbook/worksheet/sheet_protection.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/sheet_protection.rb34
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/axlsx/workbook/worksheet/sheet_protection.rb b/lib/axlsx/workbook/worksheet/sheet_protection.rb
index d8855008..104be53b 100644
--- a/lib/axlsx/workbook/worksheet/sheet_protection.rb
+++ b/lib/axlsx/workbook/worksheet/sheet_protection.rb
@@ -7,67 +7,67 @@ module Axlsx
# If 1 or true then AutoFilters should not be allowed to operate when the sheet is protected.
# If 0 or false then AutoFilters should be allowed to operate when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :auto_filter
# If 1 or true then deleting columns should not be allowed when the sheet is protected.
# If 0 or false then deleting columns should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :delete_columns
# If 1 or true then deleting rows should not be allowed when the sheet is protected.
# If 0 or false then deleting rows should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :delete_rows
# If 1 or true then formatting cells should not be allowed when the sheet is protected.
# If 0 or false then formatting cells should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :format_cells
# If 1 or true then formatting columns should not be allowed when the sheet is protected.
# If 0 or false then formatting columns should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :format_columns
# If 1 or true then formatting rows should not be allowed when the sheet is protected.
# If 0 or false then formatting rows should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :format_rows
# If 1 or true then inserting columns should not be allowed when the sheet is protected.
# If 0 or false then inserting columns should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :insert_columns
# If 1 or true then inserting hyperlinks should not be allowed when the sheet is protected.
# If 0 or false then inserting hyperlinks should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :insert_hyperlinks
# If 1 or true then inserting rows should not be allowed when the sheet is protected.
# If 0 or false then inserting rows should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :insert_rows
# If 1 or true then editing of objects should not be allowed when the sheet is protected.
# If 0 or false then objects are allowed to be edited when the sheet is protected.
# @return [Boolean]
- # @default false
+ # default false
attr_reader :objects
# If 1 or true then PivotTables should not be allowed to operate when the sheet is protected.
# If 0 or false then PivotTables should be allowed to operate when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :pivot_tables
# Specifies the salt which was prepended to the user-supplied password before it was hashed using the hashing algorithm
@@ -77,36 +77,36 @@ module Axlsx
# If 1 or true then Scenarios should not be edited when the sheet is protected.
# If 0 or false then Scenarios are allowed to be edited when the sheet is protected.
# @return [Boolean]
- # @default false
+ # default false
attr_reader :scenarios
# If 1 or true then selection of locked cells should not be allowed when the sheet is protected.
# If 0 or false then selection of locked cells should be allowed when the sheet is protected.
# @return [Boolean]
- # @default false
+ # default false
attr_reader :select_locked_cells
# If 1 or true then selection of unlocked cells should not be allowed when the sheet is protected.
# If 0 or false then selection of unlocked cells should be allowed when the sheet is protected.
# @return [Boolean]
- # @default false
+ # default false
attr_reader :select_unlocked_cells
# If 1 or true then the sheet is protected.
# If 0 or false then the sheet is not protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :sheet
# If 1 or true then sorting should not be allowed when the sheet is protected.
# If 0 or false then sorting should be allowed when the sheet is protected.
# @return [Boolean]
- # @default true
+ # default true
attr_reader :sort
# Password hash
# @return [String]
- # @default nil
+ # default nil
attr_reader :password
# Creates a new SheetProtection instance