[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Spell checking
From:       Thorsten Zachmann <t.zachmann () zagge ! de>
Date:       2010-03-28 5:33:24
Message-ID: 201003280733.24059.t.zachmann () zagge ! de
[Download RAW message or body]

Hello,

I was trying out spell checking and found some problems I write here about to 
get input on how it might get fixed so I can give it a try or if I will file a 
bug report.

1. Spell checking underlines are drawn even if forPrint in    

virtual void paint(QPainter &painter, const KoViewConverter &converter, bool 
forPrint);                                               

is set to true. This results the printouts and presentations in all apps 
besides kword to have the red underlines in printouts. KWord works around this 
problem by removing the QTextLayout::additionalFormat before printing. Any 
idea on how to not draw the underline in case forPrint is set.

2. A word is only underlined when the next word after the wrong word is ended. 
So if I type "hjk as" hjk will not be marked as wrong as long there is no 
space behind as. If my memory serves me right this was working with qt 4.5 and 
stopped when I updated to 4.6 

Thorsten
 
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic