Class: SaveRecalcRecord

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

Overview

This record is part of the Calculation Settings Block. It contains the ìRecalculate before saveî option in Excel’s calculation settings dialogue.

Record SAVERECALC, BIFF3-BIFF8:

Offset Size Contents 0 2 0 = Do not recalculate;

1 = Recalculate before saving the document

Constant Summary collapse

RECORD_ID =
0x05F

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(recalc) ⇒ SaveRecalcRecord

Returns a new instance of SaveRecalcRecord.



1597
1598
1599
# File 'lib/surpass/biff_record.rb', line 1597

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