[PUSHED] Re: [PATCH 2/2] Smarter auto-complete capitalization (#i22961#) and i18n handling

Caolán McNamara caolanm at redhat.com
Tue Jun 5 09:01:48 PDT 2012


On Mon, 2012-06-04 at 22:44 +0200, Michael Stahl wrote:
> On 04/06/12 14:03, Brad Sowden wrote:
> > * Sidenote - Initially I tried using CharClass::titlecase() but 
> > discovered this doesn't actually work. 

What did you try and what went wrong ?

> > There appears to be an issue with 
> > class cclass_Unicode where "trans" is only ever set to 
> > "Transliteration_casemapping" and there is no mechanism to set it to 
> > "Transliteration_titlecase".

I believe that the casemapping thing there knows about upper, lower and
title case and uses setMappingType to MappingTypeToTitle to toggle which
one to return

e.g. I added this test
http://cgit.freedesktop.org/libreoffice/core/commit/?id=eb9b8ebca49291797e655b50f64af2c2fa03434c
to confirm to myself that its working like I think its supposed to.

C.



More information about the LibreOffice mailing list