We're currently evaluating TRichViewEdit and so far we're pretty impressed by the offered functionality.
Our application uses Report Builder as a reporting engine for end-users. The reports are created with the default Report Builder components and exported to RTF via the default Report Builder device TppRtfDevice. In one report, one label has bold font. Text objects following after this label are not bold:
Normal text, bold text, normal text
The resulting RTF is not displayed correctly in TRichViewEdit: all the text from the label onwards is displayed bold:
Normal text, bold text, normal text
The same RTF in Microsoft Word is displayed correctly. How can this be fixed?
Font style not displayed correctly in TRichViewEdit
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Font style not displayed correctly in TRichViewEdit
Make sure that
RichViewEdit1.RTFReadProperties.TextStyleMode = RichViewEdit1.RTFReadProperties.TextStyleMode = rvrsAddIfNeeded
RichViewEdit1.RTFReadProperties.TextStyleMode = RichViewEdit1.RTFReadProperties.TextStyleMode = rvrsAddIfNeeded