The MULRK record stores up to the equivalent of 256 RK records; the MULRK record is a file size optimization. The number of 6-byte RKREC structures can be determined from the ColLast field and is equal to (colLast - colFirst + 1). The maximum length of the MULRK record is (256 x 6 + 10) = 1546 bytes, because Microsoft Excel has at most 256 columns. Note that storing 256 RK numbers in the MULRK record takes 1546 bytes as compared with 3584 bytes for 256 RK records.
Record Data
Offset |
Name |
Size |
Contents |
4 |
rw |
2 |
Row number (0-based) |
6 |
colFirst |
2 |
Column number (0-based) of the first column of the multiple RK record |
8 |
rgrkrec |
var |
Array of 6-byte RKREC structures |
var |
colLast |
2 |
Last column containing the RKREC structure |
The RKREC structure is defined as follows:
typedef struct rkrec
{
SHORT ixfe; /* index to XF record */
long RK; /* RK number */
}
RKREC;