Share via


3.9.34 Workbook: RK

This record is an RK record that specifies the numeric data contained in a single cell.

Size

Structure

Value

000A

RK - Rk

0002

    Rw - rw

0002

        USHORT - rw

0x0004

0002

    Col - col

0002

        USHORT - col

0x0001

0006

    RkRec - rkrec

0002

        IXFCell - ixfe

0002

            USHORT - ixfe

0x000F

0004

        RkNumber - RK

1 bit

            ULONG - FX100

0x0

1 bit

            ULONG - FInt

0x0

30 bits

            ULONG - num

0x0FFC0000

Figure 123: Structure of Rk

rw: Specifies a row in the sheet.

rw.rw: 0x0004 specifies row 5.

col: Specifies a column in the sheet.

col.col: 0x0001 specifies column B.

rkrec:  Specifies the numeric data for this cell.

rkrec.ixfe:  Specifies the index of a cell XF record that describes the formatting properties for the cell.

rkrec.ixfe.ixfe: 0x000F specifies that this cell uses the default cell format.

rkrec.RK: An RkNumber that specifies a numeric value.

rkrec.RK.FX100: 0x0 specifies that the value in the rkrec.RK.num field was not multiplied by 100 when it was saved.

rkrec.RK.FInt: 0x0 specifies that the value in the rkrec.RK.num field is the 30 most significant bits of a 64-bit binary floating-point number as defined in [IEEE754].

rkrec.RK.num: 0x0FFC0000 specifies the 30 most significant bits of a 64-bit binary floating-point number as defined in [IEEE754]. The remaining 34 bits are 0, which evaluates to a numeric value of 1.