2.5.36 CFMultistate
The CFMultistate structure specifies the parameters for a conditional formatting rule that represents cell values with icons from an icon set.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
unused |
reserved1 |
cStates |
|||||||||||||||||||||||||||||
iIconSet |
A |
B |
C |
reserved3 |
rgStates (variable) |
||||||||||||||||||||||||||
... |
unused (2 bytes): Undefined and MUST be ignored.
reserved1 (1 byte): MUST be zero and MUST be ignored.
cStates (1 byte): An unsigned integer that specifies the number of items in the icon set. MUST be the value from the following table:
-
Value of iIconSet
Value of cStates
Between 0x00 and 0x07 included
0x03
Between 0x08 and 0x0C included
0x04
Between 0x0D and 0x10 included
0x05
iIconSet (1 byte): An unsigned integer that specifies the icon set that represents the cell values. MUST be the value from the following table:
-
Value
Meaning
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
0x10
A - fIconOnly (1 bit): A bit that specifies whether only the icon will be displayed in the sheet and that the cell value will be hidden.
B - reserved2 (1 bit): MUST be zero and MUST be ignored.
C - fReverse (1 bit): A bit that specifies whether the order of the icons in the set is reversed.
reserved3 (5 bits): MUST be zero and MUST be ignored.
rgStates (variable): An array of CFMStateItem. Each element specifies a threshold for the respective icon in the set, below which cell values are represented by the next icon in the set. The element count MUST be equal to cStates.