Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi *,

It seems that there is a change in the grammar checker behavior which seems
undocumented anywhere.

The change is in this function:
http://api.libreoffice.org/docs/common/ref/com/sun/star/linguistic2/XProofreader.html#doProofreading

With LibreOffice 3, each paragraph of a text is passed once to this function
in the parameter aText, and the parameters nStartOfSentencePosition and
nSuggestedBehindEndOfSentencePosition are the beginning and the end of the
paragraph to check.

With LibreOffice 4, each paragraph of a text is passed several times to this
function in the parameter aText, and the parameters nStartOfSentencePosition
and nSuggestedBehindEndOfSentencePosition are the beginning and the end of
each sentence of this paragraph.

Is this a bug ? a feature ? an undocumented change ?

This change provokes unexpected errors with the French grammar checker.

Imho, the previous way to parse texts was better than the new one, as it’s
up to each grammar checker to decide what to do with the paragraph, how to
split it if necessary, etc.

Regards,
Olivier R.



--
View this message in context: 
http://nabble.documentfoundation.org/Grammar-checker-Undocumented-change-in-the-API-for-LO-4-tp4030639.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.