LibreOffice Module i18npool (master) 1
|
#include <defaultnumberingprovider.hxx>
#include <transliterationImpl.hxx>
#include <com/sun/star/i18n/NativeNumberMode.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/style/NumberingType.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <osl/diagnose.h>
#include <rtl/ref.hxx>
#include <localedata.hxx>
#include <nativenumbersupplier.hxx>
#include <string.h>
#include <comphelper/propertysequence.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <sal/macros.h>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <bullet.h>
Go to the source code of this file.
Classes | |
struct | i18npool::Supported_NumberingType |
Namespaces | |
namespace | i18npool |
Constant values shared between i18npool and, for example, the number formatter. | |
Macros | |
#define | C_CYR_A "\xD0\x90" |
#define | C_CYR_B "\xD0\x91" |
#define | S_CYR_A "\xD0\xB0" |
#define | S_CYR_B "\xD0\xB1" |
#define | C_GR_A "\xCE\x91" |
#define | C_GR_B "\xCE\x92" |
#define | S_GR_A "\xCE\xB1" |
#define | S_GR_B "\xCE\xB2" |
#define | S_HE_ALEPH "\xD7\x90" |
#define | S_HE_YOD "\xD7\x99" |
#define | S_HE_QOF "\xD7\xA7" |
#define | S_AR_ONE "\xd9\xa1" |
#define | S_AR_TWO "\xd9\xa2" |
#define | S_AR_THREE "\xd9\xa3" |
#define | S_FA_ONE "\xDB\xB1" |
#define | S_FA_TWO "\xDB\xB2" |
#define | S_FA_THREE "\xDB\xB3" |
#define | S_HI_ONE "\xE0\xA5\xA7" |
#define | S_HI_TWO "\xE0\xA5\xA8" |
#define | S_HI_THREE "\xE0\xA5\xA9" |
#define | S_DAGGER "\xE2\x80\xA0" |
#define | S_DBL_DAGGER "\xE2\x80\xA1" |
#define | S_SECTION "\xC2\xA7" |
#define | STIGMA u'\x03DB' |
#define | LEFT_KERAIA u'\x0375' |
#define | MYRIAD_SYM u'\x039C' |
#define | DOT_SYM u'.' |
#define | SIGMA_OFFSET 19 |
#define | TAU_OFFSET 20 |
#define | MYRIAD 10000 |
#define | LANG_ALL (1 << 0) |
#define | LANG_CJK (1 << 1) |
#define | LANG_CTL (1 << 2) |
Functions | |
static OUString | i18npool::toRoman (sal_Int32 n) |
static void | i18npool::lcl_formatChars (const sal_Unicode table[], int tableSize, int n, OUString &s) |
static void | i18npool::lcl_formatChars1 (const sal_Unicode table[], int tableSize, int n, OUString &s) |
static void | i18npool::lcl_formatChars2 (const sal_Unicode table_capital[], const sal_Unicode table_small[], int tableSize, int n, OUString &s) |
static void | i18npool::lcl_formatChars3 (const sal_Unicode table_capital[], const sal_Unicode table_small[], int tableSize, int n, OUString &s) |
static void | i18npool::lcl_formatPersianWord (sal_Int32 nNumber, OUString &rsResult) |
Returns number's representation in persian words up to 999999999999 respectively limited by sal_Int32 >=0. More... | |
static void | i18npool::lcl_formatKoreanLegalWord (sal_Int32 nNumber, OUString &rsResult) |
static OUString | i18npool::gr_smallNum (const sal_Unicode table[], int n) |
static void | i18npool::lcl_formatCharsGR (const sal_Unicode table[], int n, OUString &s) |
static bool | i18npool::should_ignore (std::u16string_view s) |
static OUString | i18npool::lcl_formatArabicZero (sal_Int32 nNumber, sal_Int32 nLimit) |
Turn nNumber into a string and pad the result to nLimit by inserting zero characters at the start. More... | |
static Any | i18npool::getPropertyByName (const Sequence< beans::PropertyValue > &aProperties, const char *name) |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_text_DefaultNumberingProvider_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &) |
#define C_CYR_A "\xD0\x90" |
Definition at line 37 of file defaultnumberingprovider.cxx.
#define C_CYR_B "\xD0\x91" |
Definition at line 38 of file defaultnumberingprovider.cxx.
#define C_GR_A "\xCE\x91" |
Definition at line 44 of file defaultnumberingprovider.cxx.
#define C_GR_B "\xCE\x92" |
Definition at line 45 of file defaultnumberingprovider.cxx.
#define DOT_SYM u'.' |
Definition at line 529 of file defaultnumberingprovider.cxx.
#define LANG_ALL (1 << 0) |
Definition at line 1066 of file defaultnumberingprovider.cxx.
#define LANG_CJK (1 << 1) |
Definition at line 1067 of file defaultnumberingprovider.cxx.
#define LANG_CTL (1 << 2) |
Definition at line 1068 of file defaultnumberingprovider.cxx.
#define LEFT_KERAIA u'\x0375' |
Definition at line 527 of file defaultnumberingprovider.cxx.
#define MYRIAD 10000 |
Definition at line 532 of file defaultnumberingprovider.cxx.
#define MYRIAD_SYM u'\x039C' |
Definition at line 528 of file defaultnumberingprovider.cxx.
#define S_AR_ONE "\xd9\xa1" |
Definition at line 56 of file defaultnumberingprovider.cxx.
#define S_AR_THREE "\xd9\xa3" |
Definition at line 58 of file defaultnumberingprovider.cxx.
#define S_AR_TWO "\xd9\xa2" |
Definition at line 57 of file defaultnumberingprovider.cxx.
#define S_CYR_A "\xD0\xB0" |
Definition at line 40 of file defaultnumberingprovider.cxx.
#define S_CYR_B "\xD0\xB1" |
Definition at line 41 of file defaultnumberingprovider.cxx.
#define S_DAGGER "\xE2\x80\xA0" |
Definition at line 71 of file defaultnumberingprovider.cxx.
#define S_DBL_DAGGER "\xE2\x80\xA1" |
Definition at line 72 of file defaultnumberingprovider.cxx.
#define S_FA_ONE "\xDB\xB1" |
Definition at line 61 of file defaultnumberingprovider.cxx.
#define S_FA_THREE "\xDB\xB3" |
Definition at line 63 of file defaultnumberingprovider.cxx.
#define S_FA_TWO "\xDB\xB2" |
Definition at line 62 of file defaultnumberingprovider.cxx.
#define S_GR_A "\xCE\xB1" |
Definition at line 47 of file defaultnumberingprovider.cxx.
#define S_GR_B "\xCE\xB2" |
Definition at line 48 of file defaultnumberingprovider.cxx.
#define S_HE_ALEPH "\xD7\x90" |
Definition at line 51 of file defaultnumberingprovider.cxx.
#define S_HE_QOF "\xD7\xA7" |
Definition at line 53 of file defaultnumberingprovider.cxx.
#define S_HE_YOD "\xD7\x99" |
Definition at line 52 of file defaultnumberingprovider.cxx.
#define S_HI_ONE "\xE0\xA5\xA7" |
Definition at line 66 of file defaultnumberingprovider.cxx.
#define S_HI_THREE "\xE0\xA5\xA9" |
Definition at line 68 of file defaultnumberingprovider.cxx.
#define S_HI_TWO "\xE0\xA5\xA8" |
Definition at line 67 of file defaultnumberingprovider.cxx.
#define S_SECTION "\xC2\xA7" |
Definition at line 73 of file defaultnumberingprovider.cxx.
#define SIGMA_OFFSET 19 |
Definition at line 530 of file defaultnumberingprovider.cxx.
#define STIGMA u'\x03DB' |
Definition at line 526 of file defaultnumberingprovider.cxx.
#define TAU_OFFSET 20 |
Definition at line 531 of file defaultnumberingprovider.cxx.
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_text_DefaultNumberingProvider_get_implementation | ( | css::uno::XComponentContext * | context, |
css::uno::Sequence< css::uno::Any > const & | |||
) |
Definition at line 1303 of file defaultnumberingprovider.cxx.