Marcin Miłkowski wrote:

> Hi Mathias,
> 
> Mathias Bauer wrote:
> 
>>> The checker should implement the XGrammarChecker interface, and define 
>>> its abilities this way. OK. The checking process would be started with 
>>> doGrammarChecking() method. OK. But here goes what I don't understand. 
>>> Suppose I found some errors with my code, and I built the structures 
>>> that describe errors (as far as I understand, I should use 
>>> GrammarCheckingResult that contains a collection of 
>>> SingleGrammarErrors). But what should I do with this structure? In other 
>>> words, how do I make a wavy green line to appear, or supply data for a 
>>> grammar checker dialog box / context menu? I haven't found any APIs that 
>>> allow doing that but maybe they're generic and not for grammar-checking 
>>> only.
>> 
>> You don't need to do that - OOo will do that for you, based on the
>> information you return.
> 
> Great, but where do I return the information? doGrammarChecking() 
> returns no value - as it is defined as void(). I can create the 
> GrammarCheckingResult but what next?

See answer to your previous posting.

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to