2.4.681 BrtFmt

The BrtFmt record<37> specifies a number format.


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

ifmt

stFmtCode (variable)

...

ifmt (2 bytes): An Ifmt (section 2.5.77) that specifies the identifier of the format string specified by stFmtCode. The value of this field MUST be within one of the following ranges.

  • 5 to 8

  • 23 to 26

  • 41 to 44

  • 63 to 66

  • 164 to 382

stFmtCode (variable): An XLWideString (section 2.5.169) that specifies the format string for this number format. The format string indicates how to format the numeric value of the cell. The length of this field MUST be greater than or equal to 1 character and less than or equal to 255 characters. For more information about how format strings are interpreted, see [ISO/IEC29500-1:2016], section 18.8.31. The ABNF grammar for the format string is specified in [MS-XLS] section 2.4.126. If this BrtFmt record is between a BrtACBegin (section 2.4.2) record which has RgACVer (section 2.4.2) that contains at least one ACProductVersion (section 2.5.1) greater than 0x1000, and a BrtACEnd (section 2.4.3) record, stFmtCode can also contain a format string as defined in [MS-XLSX] section 2.5.4.