On 5/23/06, Daniel Naber <[EMAIL PROTECTED]> wrote:
On Dienstag 23 Mai 2006 22:15, Bruno Sant'Anna wrote:

>  5. OpenOffice should be able to replace the wrong sentences.

This might seem obvious, but the original styles and layout should be kept
when text is replaced.

Yes, as Thomas said in first e-mail, the API has to take care about these details, preserve the text format. It should be tricky but of course is a priority, I'll remember this when start coding.

> 1. Where is the mistake in the paragraph (initial index + final index).
> 2. A list of suggestions to correct that mistake (this list can
> be empty if checker is not prepared to guess).
> 3. A comment about mistake, e.g. what a grammar book should say
> about it.

There should also be a way for the user to disable the rule, e.g. because
it is triggered to often (for correct sentences). Maybe one could even
have an option "accept here" which doesn't deactivate the rule but avoids
the display of the error message at this position. Of course this is not
that trivial...

Something like, "ignore this" and "ignore all", ... I haven't thought about it, I'm thinking about treat the return like an object (since oo is developped in C++), the constructor method of a class Checked shoud receive the return of a grammar checker right, and has a boolean "checked" marked as false, if the user mark it as checked this boolean turns into on and the grammar checker API stops showing this rule. In the case of a "ignore all" setup, a method ignoreAll receives a rule index, look for every rule in the text block, and turn the variable checked in true. We have to think about it.

regards
Daniel

--
http://www.danielnaber.de

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


Reply via email to