Hi Hristo,
On Thu, Nov 24, 2005 at 10:36:13 +0200, Hristo Simenov Hristov wrote:
> I tryed with latin letter and with NULL but still do not appear in Options
> tab.
I've a suspicion. Please enable CJK and/or CTL support under
Tools.Options.LanguageSettings.Languages and try again. If that works,
the culprit would be most certainly in
sw/source/ui/misc/numberingtypelistbox.cxx at line 135, there is
a condition
if(0 != (nTypeFlags&INSERT_NUM_EXTENDED_TYPES) &&
(aLangOpt.IsCJKFontEnabled() || aLangOpt.IsCTLFontEnabled()))
wherein it calls
Sequence<sal_Int16> aTypes =
pImpl->xInfo->getSupportedNumberingTypes( );
I assume the "&& (aLangOpt.IsCJKFontEnabled() || aLangOpt.IsCTLFontEnabled())"
above is wrong, and could be safely removed, as the
getSupportedNumberingTypes() checks the CJK/CTL configuration thing
itself and returns only the matching types. The condition was probably
added before getSupportedNumberingTypes() checked the configuration
itself, it prevents CJK/CTL symbols being displayed as squares if the
fonts aren't available. Your type is of LANG_ALL and should be returned
anyway, if the method was called at all.. however, the problem of
Cyrillic glyphs not available in the font may persist in installations
different from yours.
If all this holds true please contact the Writer folks on the [EMAIL PROTECTED]
mailing list.
> I changed the names of the tables to table_bgCyrillicUpperLetter and
> table_bgCyrillicLowerLetter. I left the bg because still not know is this
> table will surve to other Cyrillic languages.
If this is not a general Cyrillic numbering and there will be more than
one Cyrillic numbering, it must be assured that the
makeNumberingIdentifier() method will create distinct strings, as those
identfiers are used to distinguish the numbering types.
> Also it appears that when it used capital letter
> numbering only the first one is capital, the rest have to be a small one. So
> I had to add a new method which I called lcl_formatChars2.
Please create a matching aSupportedTypes.cSymbol string then, using
UTF-8 encoding as I mentioned in my previous mail.
Eike
--
OOo/SO Calc core developer. Number formatter bedevilled i18n transpositionizer.
GnuPG key 0x293C05FD: 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]