Method: Spreadsheet::Excel::Writer::Workbook#write_dsf

Defined in:
lib/spreadsheet/excel/writer/workbook.rb

#write_dsf(workbook, writer) ⇒ Object



188
189
190
191
192
193
194
# File 'lib/spreadsheet/excel/writer/workbook.rb', line 188

def write_dsf workbook, writer
  data = [
    0x00 # 0 = Only the BIFF8 “Workbook” stream is present
    # 1 = Additional BIFF5/BIFF7 “Book” stream is in the file
  ]
  write_op writer, 0x0161, data.pack("v")
end