office-gobmx/i18npool
László Németh f1579d3d6c tdf#117171 support localized number name numbering styles
in page number, chapter and outline numbering
in ~30 languages by integrating libnumbertext library.

- offapi: add linguistic2::NumberText

New NumberingType constants:

- ordinal indicators (1st, 2nd, 3rd...)

- cardinal number names (One, Two, Three...)

- ordinal number names  (First, Second, Third...)

Note: these numberings are parts of OOXML, too.

Plain text files of Libnumbertext's language data
are installed in share/numbertext (similar to
share/fingerprint), allowing further customization.

Change-Id: I4034da0a40a8c926f14a3f591749a89a8d807d5a
Reviewed-on: https://gerrit.libreoffice.org/53313
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2018-05-03 11:42:20 +02:00
..
inc tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
qa/cppunit
source tdf#117171 support localized number name numbering styles 2018-05-03 11:42:20 +02:00
util
CppunitTest_i18npool_test_breakiterator.mk
CppunitTest_i18npool_test_characterclassification.mk
CppunitTest_i18npool_test_ordinalsuffix.mk
CppunitTest_i18npool_test_textsearch.mk
CustomTarget_breakiterator.mk
CustomTarget_collator.mk
CustomTarget_indexentry.mk
CustomTarget_localedata.mk
CustomTarget_textconversion.mk
Executable_gencoll_rule.mk
Executable_genconv_dict.mk
Executable_gendict.mk
Executable_genindex_data.mk
Executable_saxparser.mk
Library_collator_data.mk
Library_dict_ja.mk
Library_dict_zh.mk
Library_i18npool.mk
Library_i18nsearch.mk
Library_index_data.mk
Library_localedata_en.mk
Library_localedata_es.mk
Library_localedata_euro.mk
Library_localedata_others.mk
Library_textconv_dict.mk
Makefile
Module_i18npool.mk
Rdb_saxparser.mk
README

Internationalisation (i18npool) framework ensures that the suite is adaptable to the requirements of different
native languages, their local settings and customs, etc without source code modification. (Wow, that is such marketing-speak...)

Specifically for locale data documentation please see i18npool/source/localedata/data/locale.dtd

See also [http://wiki.documentfoundation.org/Category:I18n]

On iOS we put the largest data generated here, the dict_ja and dict_zh
stuff, into separate files and not into code to keep the size of an
app binary down. Temporary test code:

    static bool beenhere = false;
    if (!beenhere) {
        beenhere = true;
        uno::Reference< uno::XComponentContext > xComponentContext(::cppu::defaultBootstrap_InitialComponentContext());
        uno::Reference< lang::XMultiComponentFactory > xMultiComponentFactoryClient( xComponentContext->getServiceManager() );
        uno::Reference< uno::XInterface > xInterface =
            xMultiComponentFactoryClient->createInstanceWithContext( "com.sun.star.i18n.BreakIterator_ja", xComponentContext );
    }