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

List:       koffice-devel
Subject:    Re: KWord for 2.0
From:       Thomas Zander <zander () kde ! org>
Date:       2008-02-20 7:32:02
Message-ID: 200802200832.02541.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 19 February 2008 23:49:24 Pierre wrote:
> But for the unit tests, it could be interesting to use the ODF test
> suite, but I have no idea
> about how to check the results... Compare the QTextDocument structure
> ?

I think that would indeed be the best idea; maybe a sligtly modified 
version of the test to only take the snippet of ODF you need and then 
compare the QTextBlock etc.
The problem with doing that, as you point out, is that it takes work. I'll 
see if I can make some proof-of-concept unittests since I already know 
all the classes used in QTextDocument (QTextBlock QTextCharFormat etc) 
that need to be queried.

-- 
Thomas Zander

[Attachment #5 (application/pgp-signature)]

_______________________________________________
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