Class: RKRecord

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

Overview

This record represents a cell that contains an RK value (encoded integer or floating-point value). If a floating-point value cannot be encoded to an RK value, a NUMBER record will be written.

Constant Summary collapse

RECORD_ID =
0x027E

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(row, col, xf_index, rk_encoded) ⇒ RKRecord

Returns a new instance of RKRecord.



1364
1365
1366
# File 'lib/surpass/biff_record.rb', line 1364

def initialize(row, col, xf_index, rk_encoded)
  @record_data = [row, col, xf_index, rk_encoded].pack('v3V')
end