2.4.763 BrtRRChgCell

The BrtRRChgCell record specifies properties of changes to a cell that have moved and specifies the beginning of a collection of records as defined by the Revision Log (section 2.1.7.44) part ABNF. The collection of records specifies changes to a cell.


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)

...

...

...

rw

...

col

...

vt

vtOld

A

B

C

D

E

F

G

H

I

ifmtDisp

J

K

L

M

unused2

cbOldVal

...

rgb (variable)

...

rrd (14 bytes): An RRd (section 2.5.124) record with the following stipulations:

Field

Restrictions

rrd.revt

MUST be 0x0008 (REVTCHANGECELL). See section 2.5.117 for definition.

rrd.reserved2

MUST be 0 and MUST be ignored.

rw (4 bytes): An UncheckedRw (section 2.5.155) structure that specifies the row of the cell.

col (4 bytes): An UncheckedCol (section 2.5.153) structure that specifies the column (1) of the cell.

vt (3 bits): An unsigned integer that specifies the type of value in the new cell contents. The value of this field MUST be one of the following values:

Value

Description

0x0

Specifies a blank cell

0x1

Specifies a RkNumber (section 2.5.123) value

0x2

Specifies a constant real number value

0x3

Specifies a string value

0x4

Specifies a Boolean or error value

0x5

Specifies an expression

vtOld (3 bits): An unsigned integer that specifies the type of value in the old cell contents. The value of this field MUST be one of the values as specified by the vt field.

A - f123Prefix (1 bit): A bit that specifies whether a single quote prefix is used. A single quote prefix causes the cell contents to be treated as a string. This value applies only if vt is 0x3.

B - reserved (1 bit):  The value of this field MUST be 0 and MUST be ignored.

C - fOldFmt (1 bit): A bit that specifies whether old formatting information is available for this cell. If this value is 1 and fOldFmtNull is 0, then the next BrtBeginDXFs (section 2.4.58) record specifies the old formatting.

D - fOldFmtNull (1 bit): A bit that specifies if the old formatting information is empty. The value of this field MUST be ignored if the value of the fOldFmt field is 0. If the value of the fOldFmt field is 1 and this value is 0, then the next BrtBeginDXFs record specifies the old formatting.

E - fXfDxf (1 bit):  A bit that specifies that the affected cells have their format reset to the format defined by the current style before applying any format from the BrtDXF (section 2.4.356) record, if present.

F - fStyXfDxf (1 bit): A bit that specifies that the format of the cell needs to be cleared before applying any format from the BrtDXF record, if present.

G - fDxf (1 bit): A bit that specifies whether there was a formatting change for this cell. If this value is 1 and fDxfNull is 0, then there MUST be a BrtBeginDXFs record sequence that specifies the new formatting. If fOldFmt is 1 and fOldFmtNull is 0, then the formatting change will be the second BrtBeginDXFs record sequence. Otherwise, it will be the next BrtBeginDXFs record sequence.

H - fDxfNull (1 bit): A bit that specifies whether the new formatting information is empty. The value of this field MUST be ignored if value of the fDxf field is 0. If the value of the fDxf field is 1, and this value is 0, then there MUST be a BrtBeginDXFs record sequence that specifies the new formatting. If the value of the fOldFmt field is 1 and the value of the fOldFmtNull field is 0, then the formatting change will be the second BrtBeginDXFs record sequence. Otherwise, it will be the next BrtBeginDXFs record sequence.

I - unused1 (2 bits): Undefined and MUST be ignored.

ifmtDisp (8 bits): An Ifmt (section 2.5.77) that specifies the number format for this cell. MUST be one of the built-in number formats whose identifier is less than or equal to 59.

J - fPhShow (1 bit): A bit that specifies whether the new contents of the cell contain phonetic information.

K - fPhShowOld (1 bit): A bit that specifies whether the old contents of the cell contain phonetic information.

L - fEOLFmlaUpdate (1 bit): A bit that specifies whether this cell was changed because of an automatic update to the formula (section 2.2.2).

M - fHaveOldCell (1 bit): A bit that specifies whether the old cell contents are specified by the next set of records. If this value is 0, then the next record represents the new cell contents. Otherwise, there will be two sets of cell records, of which the first is the old cell contents and the second is the new cell contents.

unused2 (4 bits): Undefined and MUST be ignored.

cbOldVal (4 bytes): A signed integer that MUST be ignored. If this value is greater than 0, the value of the fHaveOldCell field MUST be 1.

rgb (variable): An SqEtxp (section 2.5.138) that specifies font information for this record.