Hi maoyg, On Thursday, 2008-03-20 17:16:25 +0800, maoyg wrote:
> In suggestion 8,they want to add a down arrow(↓).
Whatever encoding you used to insert that character, your mailer didn't
declare it, so I just see a sequence of garbled characters. Assuming
that's utf-8 it indeed would be a downwards arrow, U+2193
> I will add a down arrow to a string that appears in
> ScInputHandler::UseFormulaData()
> which will call ShowTip(aNew) method to display hint information.
> I use aNew.Insert(sal_Unicode c, position), but the down arrow in the string
> is not displayed .
> In the meantime, I use "String aBlack,
> aBlack.AppendAscii(RTL_CONSTASCII_STRINGPARAM( "↓" ))",
> aNew.Insert(aBlack,position), there is no down arrow.
Of course not, since that is not an ASCII value, so you can't use
RTL_CONSTASCII_STRINGPARAM and AppendAscii. Use the Unicode value
instead, which would also simplify things to
aNew.Insert( 0x2193, position);
Eike
--
OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't send personal mail to the [EMAIL PROTECTED] account, which I use
for
mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED]
Thanks.
pgp9w3O34qhNr.pgp
Description: PGP signature
