Hi Thomas
First thanks for your response
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.
yes, this is simple ;-)
But for input, there is no way zo have sth like "text editor" passed on
to the spellcheckler as a single word.
this is my problem
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.
would it be hard to define an API for underlining without altering the
text formating ? say pass a text range as argument. The best would be to
play with colors and waves
where is this done into sources ?
I think this will be needed for future development such as grammar
checker or alternative checkers
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
Thanks
i'll have a look
btw, HunSpell is written in java, right ?
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.
I planned to use com.sun.star.linguistic2.Thesaurus but i'll have a look
at this service
Thanks again for your response
Laurent
--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]