[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: Small MsWord filter/kword projects: any takers?
From: Jost Schenck <uzsnty () uni-bonn ! de>
Date: 2000-06-29 11:03:28
[Download RAW message or body]
On Thu, 29 Jun 2000, David Faure wrote:
>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 :-)
Sorry, I *think* I added that comment, when I changed the code to support some
sort of numbering used by German lawyers. I'm not an expert on unicode, but I
remember that before changing those lines my numbered lists started somewhere
16 or 17 chars before 'A', thus showing me some special chars. Probably the way
I did this was very stupid - sorry!
-Jost.
--
Jost Schenck
jost@schenck.de
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic