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

List:       koffice
Subject:    Re: Small MsWord filter/kword projects: any takers?
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-06-29 8:13:37
[Download RAW message or body]

On Thu, Jun 29, 2000 at 06:45:16AM +0100, Shaheed Haque wrote:
> I have two small mini-projects for anyone who might be interested in 
> contributing to the MsWord filter, or kword generally.
> 
> 1. Alphabetic lists start with "Q"
> ----------------------------------
> 
> If you create an upper case alphabetic list, the first item is numbered "Q" 
> instead of "A". The same may happen on lower case lists, I'm not sure. 
> Anyway, the relevant code is in koffice/kword/parag.cc 
> (KWParag::counterTextByType()), where there is an intriguing comment about 
> unicode too!

Does it work with
tmp = 'A' + counterData[i] - 1;
?
This is using QString &operator=( char c ), I can't see any
unicode problem with that.

The current code is definitely strange :-)

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

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

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