2.4.195 BrtBeginRRSort

The BrtBeginRRSort record specifies sort map (section 2.2.12.10) properties and specifies the beginning of a collection of records as defined by the Sort Map (section 2.1.7.49) part ABNF. The collection of BrtRRSortItem (section 2.4.777) records specifies the sort map properties of the specified cell range. For a given sort map, there MUST be at most two of these records. If there are two records, one MUST have the fCol bit set, and the other MUST NOT have the fCol bit set.


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

rfx (16 bytes)

...

...

fCol

cItems

rfx (16 bytes): An UncheckedRfX (section 2.5.154) that specifies the row and column (1) bounds of the sort map.

fCol (4 bytes): A Boolean (section 2.5.98.3) that specifies whether this sort map refers to a column (1) or row sort map. This value MUST be 0 or 1. If the value is 0, then this record specifies a row sort map; otherwise this record specifies a column (1) sort map.

cItems (4 bytes): An unsigned integer that specifies the number of BrtRRSortItem (section 2.4.777) records. This value MUST be equal to the number of BrtRRSortItem records between this record and the next BrtEndRRSort (section 2.4.545) record. This value MUST be greater than 0 and MUST be less than or equal to 0x0FFFFFFF.