Class: WindowProtectRecord
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- WindowProtectRecord
- Defined in:
- lib/surpass/biff_record.rb
Overview
This record is part of the worksheet/workbook protection. It determines whether the window configuration of this document is protected. Window protection is not active, if this record is omitted.
Constant Summary collapse
- RECORD_ID =
0x0019
Constants inherited from BiffRecord
BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID
Instance Attribute Summary
Attributes inherited from BiffRecord
Instance Method Summary collapse
-
#initialize(protect) ⇒ WindowProtectRecord
constructor
A new instance of WindowProtectRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(protect) ⇒ WindowProtectRecord
Returns a new instance of WindowProtectRecord.
245 246 247 |
# File 'lib/surpass/biff_record.rb', line 245 def initialize(protect) @record_data = [protect].pack('v') end |