Class: CalcCountRecord
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- CalcCountRecord
- Defined in:
- lib/surpass/biff_record.rb
Overview
This record is part of the Calculation Settings Block. It specifies the maximum number of times the formulas should be iteratively calculated. This is a fail-safe against mutually recursive formulas locking up a spreadsheet application.
Record CALCCOUNT, BIFF2-BIFF8:
Offset Size Contents 0 2 Maximum number of iterations allowed in circular references
Constant Summary collapse
- RECORD_ID =
0x000C
Constants inherited from BiffRecord
BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID
Instance Attribute Summary
Attributes inherited from BiffRecord
Instance Method Summary collapse
-
#initialize(calc_count) ⇒ CalcCountRecord
constructor
A new instance of CalcCountRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(calc_count) ⇒ CalcCountRecord
Returns a new instance of CalcCountRecord.
1529 1530 1531 |
# File 'lib/surpass/biff_record.rb', line 1529 def initialize(calc_count) @record_data = [calc_count].pack('v') end |