If we copy text from a TRichViewEdit component to Word using the clipboard, the text copied will not be check by the spellchecking-routine of word.
If we have a look at the properties of the copied text in Word, the property "Rechtschreibung und Grammatik nicht prüfen" (in english: "Spellchecking and Gramatic disabled") is set.
Any idea?
Copy text from TRichView to Word -> no Spellcheck
-
- Site Admin
- Posts: 17604
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Currently, TRichView saves language of text depending on TextStyles[].Charset.
"No spell check" ($0400 language) is saved for the following charsets:
OEM_CHARSET, MAC_CHARSET (these two must not present in TRichView at all),
SYMBOL_CHARSET,
EASTEUROPE_CHARSET.
The last one is because there are too many different languages in this charset. But now I think this is a bad solution. For EASTEUROPE_CHARSET, no language must be saved at all. To fix it, open RVUni.pas and change RVU_Charset2Language. For EASTEUROPE_CHARSET, it must return $0000.
PS: I believe the problem was with EASTEUROPE_CHARSET.
"No spell check" ($0400 language) is saved for the following charsets:
OEM_CHARSET, MAC_CHARSET (these two must not present in TRichView at all),
SYMBOL_CHARSET,
EASTEUROPE_CHARSET.
The last one is because there are too many different languages in this charset. But now I think this is a bad solution. For EASTEUROPE_CHARSET, no language must be saved at all. To fix it, open RVUni.pas and change RVU_Charset2Language. For EASTEUROPE_CHARSET, it must return $0000.
PS: I believe the problem was with EASTEUROPE_CHARSET.
-
- Site Admin
- Posts: 17604
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: