2.5.187 ObjFmla

The ObjFmla structure specifies a formula (section 2.2.2) in an Obj record.


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

cbFmla

fmla (variable)

...

embedInfo (variable)

...

padding (variable)

...

cbFmla (2 bytes): An unsigned integer that specifies the number of bytes in this ObjFmla, not counting the two bytes of the cbFmla field itself. This number MUST be even.

fmla (variable): An optional ObjectParsedFormula that specifies the formula. This field MUST exist if and only if cbFmla is greater than 0x0000.

embedInfo (variable): An optional PictFmlaEmbedInfo. This field MUST exist if and only if the structure containing this ObjFmla is an FtPictFmla, the fmla field exists, and the fmla.rgce field starts with a PtgTbl.

padding (variable): An array of bytes whose size is given by:
cbFmla minus size of fmla minus size of embedInfo.

It is possible for this array to be empty. The value of the elements in this array are undefined and MUST be ignored.