Class: PrintHeadersRecord

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

Overview

This record stores if the row and column headers (the areas with row numbers and column letters) will be printed.

Record PRINTHEADERS, BIFF2-BIFF8:

Offset Size Contents 0 2 0 = Do not print row/column headers;

1 = Print row/column headers

Constant Summary collapse

RECORD_ID =
0x02A

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(print_headers) ⇒ PrintHeadersRecord

Returns a new instance of PrintHeadersRecord.



1618
1619
1620
# File 'lib/surpass/biff_record.rb', line 1618

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