2.9.41 CNFOperand

The CNFOperand structure provides conditional formatting for a 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

cb

cnfc

grpprl (variable)

...

cb (1 byte): An unsigned integer that specifies the size, in bytes, of this CNFOperand, excluding the cb member.

cnfc (2 bytes): A signed integer that specifies the condition for which the formatting in grpprl applies.

Value

Meaning

0x0001

Header row.

0x0002

Footer row.

0x0004

First column.

0x0008

Last column.

0x0010

Banded columns.

0x0020

Even column banding.

0x0040

Banded rows.

0x0080

Even row banding.

0x0100

Top right cell.

0x0200

Top left cell.

0x0400

Bottom right cell.

0x0800

Bottom left cell.

The value of cnfc MUST be one of these values.

grpprl (variable): An array of Prl. Specifies the formatting to apply (on top of the non-conditional formatting specified in the table style) when the condition is satisfied (see section 2.4.6 Applying Properties).