Class: VCenterRecord
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- VCenterRecord
- 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
Instance Method Summary collapse
-
#initialize(is_vert_center) ⇒ VCenterRecord
constructor
A new instance of VCenterRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(is_vert_center) ⇒ VCenterRecord
Returns a new instance of VCenterRecord.
1848 1849 1850 |
# File 'lib/surpass/biff_record.rb', line 1848 def initialize(is_vert_center) @record_data = [is_vert_center].pack('v') end |