Hi,
Is there a way to use a thesaurus as a negative spellchecker source ?
the meaning being the spellchecker proposal ?
Basically this is possible.
moreover, any trick so negative spell checker can use expressions made
with multiple words ?
As suggestion for an incorrect word no problem. Just put them in the
text for the suggestion.
But for input, there is no way zo have sth like "text editor" passed on
to the spellcheckler as a single word.
If i write an uno component, how can i implement the real time undelining ?
You can't. There is no API functionality for it yet.
And you need not because you only hav to implement a spellchecker with
it's respective API. The applications (e.g. the Writer) itself will make
use of the spellchecker and mark all misspelled words.
where should i loook into sources ?
For example in the HunSpell code of lingucomponent.
For the very basics of a spellchecker implementation you may also
look at
http://sw.openoffice.org/drafts/linguistic_howto.html
You may as well write a spellchecker by using the UNO API of the
thesaurus itself. If so please access the thesaurus via the service
com.sun.star.linguistic2.LinguisticServiceManager
because this is the instance that knows about all available
implemementations and dispatches the calls to the respective ones.
Regards,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]