Bug 71149

Summary: SPELL: Objects inline with text ignored by spellchecks, leading to double space warnings
Product: LibreOffice Reporter: Luiz Angelo Daros de Luca <luizluca>
Component: LinguisticAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: dicollecte, jbfaure
Version: 4.1.2.3 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: Two lines that generates grammar warnings. The first in pt_BR and the second in en_US.

Description Luiz Angelo Daros de Luca 2013-11-01 23:14:03 UTC
Created attachment 88521 [details]
Two lines that generates grammar warnings. The first in pt_BR and the second in en_US.

Hello,

U use formulas embedded inside a line like:

The e=mc² is cool.

If e=mc² is inserted as an OLE Formula Object, grammar checker warns that "The  is cool." has two spaces

The similar problems happens when the formula is at the beginning or the end of a phase.

I'll attach an example doc.

I'm using LanguageTool Extension v2.2.
Operating System: Ubuntu
Version: 4.1.2.3 release
Comment 1 Jean-Baptiste Faure 2013-11-02 10:04:54 UTC
I have the same problem with the grammar checker for French Grammalecte.

Best regards. JBF
Comment 2 Olivier R. 2013-11-02 10:25:37 UTC
The grammar checker says: “"The  is cool." has two spaces”
because the grammar checker receives only the sentence “The  is cool.”

Objects are not sent to grammar checkers. They receive only the text. IMHO, the GC iterator should send to grammar checkers a specific word to replace such objects instead of nothing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.