2.2.47 RichTextBox

The RichTextBox record specifies the properties that are applicable to a rich text box within a Report record.          

 RichTextBox = richTextBoxToken richTextBoxProperties *ParagraphContent RichTextBoxStructure ReportElementEnd


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

richTextBoxToken

richTextBoxProperties (variable)

...

paragraphs (variable)

...

richTextBoxStructure (variable)

...

reportElementEnd

...

...

richTextBoxToken (1 byte): A byte that specifies the start of the RichTextBox record. The value of the richTextBoxToken field MUST be 0x07.

richTextBoxProperties (variable): A ElementProperties record that specifies the properties that are applicable to the RichTextBox record. If the OriginalValue property and the TypeCode property are both present, the OriginalValue property MUST appear in the array after the TypeCode property. The structure contained in the richTextBoxProperties field MUST be one of the following.

Property

ActionInfo

Value

ToggleState

SortState

IsToggleParent

ContentHeight

ContentOffset

ProcessedWithError

TypeCode

OriginalValue

CanGrow

CanShrink

CanSort

Formula

IsSimple

FormattedValueExpressionBased

UniqueName

Label

Bookmark

Tooltip

Style

ID

Name

ToggleItem

paragraphs (variable): An array of ParagraphContent records. The number of elements in the array MUST be equal to the value of the count field of the RichTextBoxStructure record defined by the richTextBoxStructure field.

richTextBoxStructure (variable): A RichTextBoxStructure record.

reportElementEnd (10 bytes): A ReportElementEnd record that marks the end of the RichTextBox record. The offset field for the ReportElementEnd record specifies the position of a richTextBoxStructure field in the RPL stream.