2.9.53 DefTableShdOperand

The DefTableShdOperand structure is an operand that is used by several Table Sprms to specify each style of background shading that is applied to each of the cells in a single row.


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

cb

rgShd (variable)

...

cb (1 byte):  An unsigned integer that specifies the size in bytes of this operand, not including cb. The cb value MUST be a multiple of 10, the size of Shd, and MUST NOT exceed 220.

rgShd (variable): An array of Shd. The number of elements is equal to cb / 10 and MUST NOT exceed 22. Each Shd structure is applied sequentially to each cell in the row. The first cell rgShd applies to is either 1, 23, or 45, depending on which Table Sprm is applying this operand. rgShd only contains elements necessary to define all shaded cells in the row. Non-shaded cells that follow the last shaded cell in the row are omitted from the array. Non-shaded cells that precede the last shaded cell in the row are set to ShdAuto or ShdNil, depending on which Table Sprm is applying this operand.