Class: LabelSSTRecord

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

Overview

This record represents a cell that contains a string. It replaces the LABEL record and RSTRING record used in BIFF2-BIFF7.

Constant Summary collapse

RECORD_ID =
0x00FD

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_idx, sst_idx) ⇒ LabelSSTRecord

Returns a new instance of LabelSSTRecord.



1268
1269
1270
# File 'lib/surpass/biff_record.rb', line 1268

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