copy and paste to MS Word

General TRichView support forum. Please post your questions here
Post Reply
erikvdw
Posts: 40
Joined: Tue Feb 28, 2006 8:27 am

copy and paste to MS Word

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply