class ReadXls::RecordHandler::LabelSst

Constants

SST_INDEX_OFFSET
SST_INDEX_SIZE

Public Instance Methods

call() click to toggle source
# File lib/read_xls/record_handler/label_sst.rb, line 7
def call
  row, column = record_data.byteslice(0, 4).unpack("v2")
  sst_index   = record_data.byteslice(SST_INDEX_OFFSET, SST_INDEX_SIZE).unpack("V").first

  builder.add_column_to_row(row, column, ::ReadXls::Evaluator::SstString.new(sst_index, builder))
end