Class: InternalReferenceSupBookRecord
- Inherits:
-
SupBookRecord
- Object
- BiffRecord
- SupBookRecord
- InternalReferenceSupBookRecord
- Defined in:
- lib/surpass/biff_record.rb
Overview
In each file occurs a SUPBOOK that is used for internal 3D references. It stores the number of sheets of the own document.
Record SUPBOOK for 3D references, BIFF8: Offset Size Contents
0 2 Number of sheets in this document
2 2 01H 04H (relict of BIFF5/BIFF7, the byte string "<04H>", see 3.9.1)
Constant Summary
Constants inherited from SupBookRecord
Constants inherited from BiffRecord
BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID
Instance Attribute Summary
Attributes inherited from BiffRecord
Instance Method Summary collapse
-
#initialize(num_sheets) ⇒ InternalReferenceSupBookRecord
constructor
A new instance of InternalReferenceSupBookRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(num_sheets) ⇒ InternalReferenceSupBookRecord
Returns a new instance of InternalReferenceSupBookRecord.
2165 2166 2167 |
# File 'lib/surpass/biff_record.rb', line 2165 def initialize(num_sheets) @record_data = [num_sheets, 0x01, 0x04].pack('vCC') end |