2.4.240 RRSort

The RRSort record specifies the changes caused by sort actions in a shared workbook.


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

rrd (14 bytes)

...

...

...

ref8

...

...

A

reserved

cbSort

rgSortMap (variable)

...

rrd (14 bytes):  An RRD structure that specifies the revision record information used to track changes in a shared workbook. The rrd.revt MUST be equal to 0x0007. The rrd.tabid MUST NOT be 0xFFFF because this revision corresponds to a specific sheet.

ref8 (8 bytes):  A Ref8U structure that specifies the range of cells affected by sort actions. If the value of fCol is 0, the range of rows MUST be within the valid range of the number of rows on the sheet as defined in the used range specified by the Dimensions record. If the value of fCol is 1, the range of columns MUST be within the valid range of the number of columns on the sheet as defined in the used range specified by the Dimensions record.

A - fCol (1 bit):  A bit that specifies whether sorting is performed on the columns.

Value

Meaning

0

The rows have been reordered.

1

The columns have been reordered.

reserved (15 bits): MUST be zero, and MUST be ignored.

cbSort (4 bytes):  An unsigned integer that specifies the size of rgSortMap in bytes.

rgSortMap (variable): An array of SortItem structures.  The size MUST be equal to cbSort.