Class: DefaultRowHeight

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

Overview

This record specifies the default height and default flags for rows that do not have a corresponding ROW record.

Record DEFAULTROWHEIGHT, BIFF3-BIFF8:

Offset Size Contents 0 2 Option flags:

Bit Mask    Contents
0   0001H   1 = Row height and default font height do not match
1   0002H   1 = Row is hidden
2   0004H   1 = Additional space above the row
3   0008H   1 = Additional space below the row

2 2 Default height for unused rows, in twips = 1/20 of a point

Constant Summary collapse

RECORD_ID =
0x0225

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(options, def_height) ⇒ DefaultRowHeight

Returns a new instance of DefaultRowHeight.



1665
1666
1667
# File 'lib/surpass/biff_record.rb', line 1665

def initialize(options, def_height)
  @record_data = [options, def_height].pack('v2')
end