2.4.335 UserSViewBegin_Chart

The UserSViewBegin_Chart record specifies custom view settings for the current chart sheet and that specifies the beginning of a collection of records as defined by the Chart Sheet substream ABNF. The collection of records specifies custom view settings for the current chart sheet.  There is an associated UserBView record, specified by the guid field, that specifies custom view settings that apply to the whole workbook.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

guid (16 bytes)

...

...

iTabid

wScale

reserved1

unused1

reserved2

A

reserved3

B

C

unused2

...

unused3

...

unused4

...

unused5

unused6

guid (16 bytes):  A GUID, as specified by [MS-DTYP], that specifies the association with a UserBView. MUST equal the value of the guid field of the UserBView record.

iTabid (4 bytes):  A TabId structure that specifies the sheet of this custom view.

wScale (4 bytes):  An unsigned integer that specifies the zoom level of the window used to display the sheet. MUST be greater than or equal to 10 and less than or equal to 400.

reserved1 (4 bytes): MUST be zero, and MUST be ignored.

unused1 (4 bytes):  Undefined and MUST be ignored.

reserved2 (22 bits):  MUST be zero, and MUST be ignored.

A - hsState (2 bits): An unsigned integer that specifies the hidden state of the chart sheet. MUST be a value from the following table:

Value

Meaning

0x0

The chart sheet is visible.

0x1

The chart sheet is hidden.

0x2

Very Hidden; the sheet is hidden and cannot be displayed using the user interface.

reserved3 (6 bits):  MUST be zero, and MUST be ignored.

B - fZoomToFit (1 bit): A bit that specifies whether the zoom level is set to "Zoom to Fit Selection". SHOULD<141> be 1 if the current zoom level specified by the wScale field fits the current selection.

C - reserved4 (1 bit): MUST be zero, and MUST be ignored.

unused2 (8 bytes):  Undefined and MUST be ignored.

unused3 (8 bytes): Undefined and MUST be ignored.

unused4 (8 bytes): Undefined and MUST be ignored.

unused5 (2 bytes): Undefined and MUST be ignored.

unused6 (2 bytes): Undefined and MUST be ignored.