🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.vcl.components.using.general
3 messages
3 total messages Started by Nando Wed, 09 Jul 2008 12:31
TRichEdit control - What rich text format specification version suports?
#145
Author: Nando
Date: Wed, 09 Jul 2008 12:31
14 lines
1576 bytes
Hi,

I need to use a TRichEdit control for interacting with Rtf files used by 
both word processors and the application, but I have some difficulties 
trying to merge formated text from the TRichEdit control into the Rtf files, 
because font style, size and some times colors are shown different. I think 
it is because different format specification version.

In D2007 the TRichEdit control what rich text format specification version 
is supported?

Thank you.

Nando. 
Re: TRichEdit control - What rich text format specification version suports?
#142
Author: Peter Below (TeamB)
Date: Wed, 09 Jul 2008 17:32
32 lines
2156 bytes
Nando wrote:

> Hi,
> 
> I need to use a TRichEdit control for interacting with Rtf files used
> by both word processors and the application, but I have some
> difficulties trying to merge formated text from the TRichEdit control
> into the Rtf files, because font style, size and some times colors
> are shown different. I think it is because different format
> specification version.
> 
> In D2007 the TRichEdit control what rich text format specification
> version is supported?

The control still uses version 1 of the rich edit common control. On XP
and Vista that is in fact only a wrapper around version 3, but the
wrapper does not pass on all V3 features for backward compatibility
reasons.

There are TRichedit derivatives around that support V2/V3 (e.g. in the
JEDI VCL). But even version 3 supports only a limited subset of the
full RTF specification (which is basically whatever the lates MS-Word
version produces). It has better behaviour in preserving unsupported
features through load/save cycles, but you are still bound to loose
some stuff.

-- 
Peter Below (TeamB)  
Don't be a vampire (http://slash7.com/pages/vampires), 
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.com
Re: TRichEdit control - What rich text format specification version suports?
#146
Author: Nando
Date: Wed, 09 Jul 2008 19:00
5 lines
1280 bytes
Peter,

Thank you very much for your post.

Nando.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads