Class: GutsRecord

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

Overview

This record contains information about the layout of outline symbols.

Record GUTS, BIFF3-BIFF8:

Offset Size Contents 0 2 Width of the area to display row outlines (left of the sheet), in pixel 2 2 Height of the area to display column outlines (above the sheet), in pixel 4 2 Number of visible row outline levels (used row levels + 1; or 0, if not used) 6 2 Number of visible column outline levels (used column levels + 1; or 0, if not used)

Constant Summary collapse

RECORD_ID =
0x0080

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_gut_width, col_gut_height, row_visible_levels, col_visible_levels) ⇒ GutsRecord

Returns a new instance of GutsRecord.



1424
1425
1426
# File 'lib/surpass/biff_record.rb', line 1424

def initialize(row_gut_width, col_gut_height, row_visible_levels, col_visible_levels)
  @record_data = [row_gut_width, col_gut_height, row_visible_levels, col_visible_levels].pack('v4')
end