Class: TopMarginRecord
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- TopMarginRecord
- Defined in:
- lib/surpass/biff_record.rb
Overview
This record is part of the Page Settings Block. It contains the top page margin of the current worksheet.
Offset Size Contents 0 8 Top page margin in inches
(IEEE 754 floating-point value, 64?bit double precision)
Constant Summary collapse
- RECORD_ID =
0x0028
Constants inherited from BiffRecord
BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID
Instance Attribute Summary
Attributes inherited from BiffRecord
Instance Method Summary collapse
-
#initialize(margin) ⇒ TopMarginRecord
constructor
A new instance of TopMarginRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(margin) ⇒ TopMarginRecord
Returns a new instance of TopMarginRecord.
1892 1893 1894 |
# File 'lib/surpass/biff_record.rb', line 1892 def initialize(margin) @record_data = [margin].pack('E') end |