2.4.320 TableStyle

The TableStyle record specifies a user-defined table style and the beginning of a collection of TableStyleElement records as specified by the Globals Substream ABNF.  The collection of TableStyleElement records specifies the properties of the table style.


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

frtHeader

...

...

A

B

C

reserved2

ctse

...

cchName

rgchName (variable)

...

frtHeader (12 bytes):  An FrtHeader structure. The frtHeader.rt field MUST be 0x088F.

A - reserved1 (1 bit): MUST be zero, and MUST be ignored.

B - fIsPivot (1 bit):  A bit that specifies whether the style can be applied to PivotTable views.

C - fIsTable (1 bit):  A bit that specifies whether the style can be applied to tables.

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

ctse (4 bytes):  An unsigned integer that specifies the count of TableStyleElement records to follow this record. MUST be less than or equal to 28.

cchName (2 bytes):  An unsigned integer that specifies the count of characters in the rgchName field. This value MUST be less than or equal to 255 and greater than or equal to 1.

rgchName (variable):  An array of Unicode characters whose length is specified by cchName that specifies the style name.