Class: WSBoolRecord

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

Overview

This record stores a 16 bit value with Boolean options for the current sheet. From BIFF5 on the “Save external linked values” option is moved to the record BOOKBOOL.

Option flags of record WSBOOL, BIFF3-BIFF8:

Bit Mask Contents 0 0001H 0 = Do not show automatic page breaks

1 = Show automatic page breaks

4 0010H 0 = Standard sheet

1 = Dialogue sheet (BIFF5-BIFF8)

5 0020H 0 = No automatic styles in outlines

1 = Apply automatic styles to outlines

6 0040H 0 = Outline buttons above outline group

1 = Outline buttons below outline group

7 0080H 0 = Outline buttons left of outline group

1 = Outline buttons right of outline group

8 0100H 0 = Scale printout in percent

1 = Fit printout to number of pages

9 0200H 0 = Save external linked values (BIFF3?BIFF4 only)

1 = Do not save external linked values (BIFF3?BIFF4 only)

10 0400H 0 = Do not show row outline symbols

1 = Show row outline symbols

11 0800H 0 = Do not show column outline symbols

1 = Show column outline symbols

13-12 3000H These flags specify the arrangement of windows.

They are stored in BIFF4 only.
00 = Arrange windows tiled
01 = Arrange windows horizontal
10 = Arrange windows vertical112 = Arrange windows cascaded

The following flags are valid for BIFF4-BIFF8 only: 14 4000H 0 = Standard expression evaluation

1 = Alternative expression evaluation

15 8000H 0 = Standard formula entries

1 = Alternative formula entries

Constant Summary collapse

RECORD_ID =
0x0081

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(options) ⇒ WSBoolRecord

Returns a new instance of WSBoolRecord.



1467
1468
1469
# File 'lib/surpass/biff_record.rb', line 1467

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