2.3.33 Formula

The Formula property returns the formula used to generate a value for a RichTextBox or TextRun record. If the Formula property is specified, it MUST be part of a RichTextBox.ElementProperties.InlineSharedElementProperties or TextRun.ElementProperties.InlineSharedElementProperties record.          

 Formula = formulaStart formulaValue


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

formulaStart

formulaValue (variable)

...

formulaStart (1 byte): A byte that specifies the start of the Formula property. The value of formulaStart field MUST be one of the following values.

Value

Parent

0x1F

ElementProperties.InlineSharedElementProperties for RichTextBox

0X0C

ElementProperties.InlineSharedElementProperties for TextRun

formulaValue (variable): A String value containing the formula that is used to generate the value for the RichTextBox or TextRun.