Class: HCenterRecord
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- HCenterRecord
- Defined in:
- lib/surpass/biff_record.rb
Overview
This record is part of the Page Settings Block. It specifies if the sheet is centred horizontally when printed.
Record HCENTER, BIFF3-BIFF8:
Offset Size Contents 0 2 0 = Print sheet left aligned
1 = Print sheet centred horizontally
Constant Summary collapse
- RECORD_ID =
0x0083
Constants inherited from BiffRecord
BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID
Instance Attribute Summary
Attributes inherited from BiffRecord
Instance Method Summary collapse
-
#initialize(is_horz_center) ⇒ HCenterRecord
constructor
A new instance of HCenterRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(is_horz_center) ⇒ HCenterRecord
Returns a new instance of HCenterRecord.
1827 1828 1829 |
# File 'lib/surpass/biff_record.rb', line 1827 def initialize(is_horz_center) @record_data = [is_horz_center].pack('v') end |