0

When formatted text is pasted from MSWord to a TRichEdit control, the bullets are well formatted (on the display) but after;

Fetching the rtf data from the TRichEdit control using TStringStream,
Saving the stream's DataString to a database and then
Loading the saved rtf string back to the TRichEdit control
The bullets are being formatted as fullstops

Using Delphi 7, Windows xp, msftedit.dll for RichEdit

Please assist

3
Contributors
4
Replies
6
Views
5 Years
Discussion Span
Last Post by pritaeas
1

Set the PlainText property to false, then
RichEd.Lines.SaveToFile('...\blah.rtf');
or use a TMemoryStream not a TStringStream.

0

I found that by changing the font charset to ANSI_Charset it is possible to retain the formatting but the moment I change the font Name to "Times New Roman" and the font size to "11" the formatting for the bullets gets lost

0

What is the relation of the Charset and the font name since changing the font name seems to change the way the bullets are being interprated

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.