Class: VCenterRecord

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

Overview

This record is part of the Page Settings Block. It specifies if the sheet is centred vertically when printed.

Record VCENTER, BIFF3-BIFF8:

Offset Size Contents 0 2 0 = Print sheet aligned at top page border

1 = Print sheet vertically centred

Constant Summary collapse

RECORD_ID =
0x0084

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(is_vert_center) ⇒ VCenterRecord

Returns a new instance of VCenterRecord.



1843
1844
1845
# File 'lib/surpass/biff_record.rb', line 1843

def initialize(is_vert_center)
  @record_data = [is_vert_center].pack('v')
end