2.4.770 BrtRRFormat

The BrtRRFormat record specifies a formatting change that has been applied to a shared workbook 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 a formatting change that has been applied to 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)

...

...

...

A

B

C

reserved

ich

...

cch

...

cbrfx

...

rgrfx (variable)

...

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

Field

Restrictions

rrd.revt

MUST be 0x000B (REVTFORMAT). See section 2.5.117 for definition.

rrd.revid

MUST be 0.

rrd.reserved2

MUST be 0 and MUST be ignored.

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

B - fXfDxfNull (1 bit):  A bit that specifies whether a format is associated with this record. MUST be 0 if fXfDxf is 0.

Value

Meaning

0

A format is associated with this record. The next record in the sequence MUST be BrtBeginDXFs (section 2.4.58).

1

The format associated with this record is null. If the next record in the sequence is BrtBeginDXFs the associated BrtDXF record MUST be exactly 6 bytes and all fields MUST be 0.

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

reserved (5 bits): This value MUST be 0 and MUST be ignored.

ich (4 bytes):

Value

Meaning

0xFFFFFFFF

The formatting change does not affect the contents of the affected cells.

0x00000000

The formatting change affects the contents of the affected cells.<45>

cch (4 bytes):

Value

Meaning

0xFFFFFFFF

The formatting change does not affect the contents of the affected cells.

0x00000000

The effect of the formatting change on cell contents was not evaluated. If the BrtDXF record describes content changes, treat this value as 0x7FFFFFFF; otherwise treat this value as 0xFFFFFFFF.

0x7FFFFFFF

The formatting change affects the contents of the affected cells.

cbrfx (4 bytes): An unsigned integer that specifies the number of bytes in rgrfx. This value MUST NOT be 0xFFFFFFFF, and MUST be the number of UncheckedRfX (section 2.5.154) elements in rgrfx multiplied by 16.

rgrfx (variable): An array of UncheckedRfX that specifies the cells to which this format change applies.