2.5.220 RRD

The RRD structure specifies the revision record information used to track changes 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

cbMemory

revid

revt

A

B

C

D

reserved

tabid

cbMemory (4 bytes): An unsigned integer that specifies the size in bytes of the corresponding revision record structure in memory. This is different from the size of the structure written to the file. The value MUST be greater than or equal to 26. MUST be ignored if the current record is RRDHead.

revid (4 bytes): A signed integer that specifies the revision identifier of the revision records. This identifier is used to keep track of the order of revision records. MUST be greater than or equal to 0.

revt (2 bytes): A RevisionType that specifies the type of revision record.

A - fAccepted (1 bit): A bit that specifies whether this revision was reviewed and accepted.

B - fUndoAction (1 bit): A bit that specifies whether the revision occurred because of an undo action.

C - unused (1 bit):  Undefined and MUST be ignored.

D - fDelAtEdgeOfSort (1 bit): A bit that specifies whether the row or column that is being deleted is at the edge of a sorted range. If the value is 1, the current record MUST be RRDInsDel and revt MUST be equal to REVTINSRW or REVTINSCOL or REVTDELRW or REVTDELCOL.

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

tabid (2 bytes): A TabId that specifies the sheet where the revision occurred. If the value is 0xFFFF, this revision does not correspond to a specific sheet.