Class: DimensionsRecord
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- DimensionsRecord
- Defined in:
- lib/surpass/biff_record.rb
Overview
Record DIMENSIONS, BIFF8:
Offset Size Contents 0 4 Index to first used row 4 4 Index to last used row, increased by 1 8 2 Index to first used column 10 2 Index to last used column, increased by 1 12 2 Not used
Constant Summary collapse
- RECORD_ID =
0x0200
Constants inherited from BiffRecord
BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID
Instance Attribute Summary
Attributes inherited from BiffRecord
Instance Method Summary collapse
-
#initialize(first_used_row, last_used_row, first_used_col, last_used_col) ⇒ DimensionsRecord
constructor
A new instance of DimensionsRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(first_used_row, last_used_row, first_used_col, last_used_col) ⇒ DimensionsRecord
Returns a new instance of DimensionsRecord.
1084 1085 1086 |
# File 'lib/surpass/biff_record.rb', line 1084 def initialize(first_used_row, last_used_row, first_used_col, last_used_col) @record_data = [first_used_row, last_used_row + 1, first_used_col, last_used_col + 1, 0x00].pack('V2v3') end |