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?
copy and paste to MS Word
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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.
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.