Class: CalcModeRecord

Inherits:
BiffRecord show all
Defined in:
lib/surpass/biff_record.rb

Overview

This record is part of the Calculation Settings Block. It specifies whether to calculate formulas manually, automatically or automatically except for multiple table operations.

Record CALCMODE, BIFF2-BIFF8:

Offset Size Contents 0 2 FFFFH = automatic except for multiple table operations

0000H = manually
0001H = automatically (default)

Constant Summary collapse

RECORD_ID =
0x000D

Constants inherited from BiffRecord

BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID

Instance Attribute Summary

Attributes inherited from BiffRecord

#record_data

Instance Method Summary collapse

Methods inherited from BiffRecord

#record_header, #to_biff

Constructor Details

#initialize(calc_mode) ⇒ CalcModeRecord

Returns a new instance of CalcModeRecord.



1518
1519
1520
# File 'lib/surpass/biff_record.rb', line 1518

def initialize(calc_mode)
  @record_data = [calc_mode].pack('v')
end