Page 1 of 1

copy and paste to MS Word

Posted: Tue Feb 19, 2008 3:40 pm
by erikvdw
We make some documents with TRichviewEdit. We do:
1. select all
2. copy
3. Start MS Word
4. Paste

The default spellingscheck language in MS Word we have Dutch. But the 'pasted' document have most of the time as spellingscheck language: English.
Can I set the language for all the document in RVF to Dutch?

If I save the document to rtf I see many languages codes through the document and I want to clear this. Anyone an idea?

Posted: Tue Feb 19, 2008 4:40 pm
by Sergey Tkachenko
Yes, if the font has ANSI_CHARSET, its language is saved as English. It is wrong, in the next update it will be fixed (no language code will be saved in RTF for fonts with ANSI_CHARSET).

Alternatively, you can define text language in TRichViewEdit. The source code must be recompiled with RVLANGUAGEPROPERTY compiler define. Text styles will have a new property - Language that will be stored in RTF file, instead of determining it by Charset.