Class: BottomMarginRecord

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

Overview

This record is part of the Page Settings Block. It contains the bottom page margin of the current worksheet.

Offset Size Contents 0 8 Bottom page margin in inches

(IEEE 754 floating-point value, 64?bit double precision)

Constant Summary collapse

RECORD_ID =
0x0029

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(margin) ⇒ BottomMarginRecord

Returns a new instance of BottomMarginRecord.



1901
1902
1903
# File 'lib/surpass/biff_record.rb', line 1901

def initialize(margin)
  @record_data = [margin].pack('E')
end