2.5.8 AFDOperStr

Office

The AFDOperStr structure specifies a string value for an AutoFilter comparison. The string location is specified by the record or structure that contains this structure.

A question mark character (‘?’) in the string specifies a matching condition on any single character. An asterisk character (‘*’) in the string specifies a matching condition on a sequence of zero or more characters.


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

unused1 (optional)

cch

fCompare

reserved1

unused2

unused3 (optional)

unused1 (4 bytes): Undefined and MUST be ignored. MUST exist if and only if this structure is part of an AutoFilter, a Feature11 or a Feature12 record.

cch (1 byte): An unsigned integer that specifies the number of characters in the string. MUST be greater than or equal to 1.

fCompare (1 byte):  A Boolean (section 2.5.14) that specifies whether the string comparison contains question mark or asterisk characters. MUST be a value from the following table:

Value

Meaning

0

String comparison contains question mark or asterisk characters.

1

String comparison does not contain question mark or asterisk characters.

reserved1 (1 byte): MUST be zero, and MUST be ignored.

unused2 (1 byte): Undefined and MUST be ignored.

unused3 (4 bytes): Undefined and MUST be ignored. MUST exist if and only if this structure is part of an AutoFilter12.

Show: