Class: PrintGridLinesRecord

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

Overview

This record stores if sheet grid lines will be printed.

Record PRINTGRIDLINES, BIFF2-BIFF8:

Offset Size Contents 0 2 0 = Do not print sheet grid lines;

1 = Print sheet grid lines

Constant Summary collapse

RECORD_ID =
0x02B

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_grid) ⇒ PrintGridLinesRecord

Returns a new instance of PrintGridLinesRecord.



1633
1634
1635
# File 'lib/surpass/biff_record.rb', line 1633

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