Class: DefaultRowHeight
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- DefaultRowHeight
- 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
Instance Method Summary collapse
-
#initialize(options, def_height) ⇒ DefaultRowHeight
constructor
A new instance of DefaultRowHeight.
Methods inherited from BiffRecord
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(, def_height) @record_data = [, def_height].pack('v2') end |