#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/macros.h>
#include <nativenumbersupplier.hxx>
#include <localedata.hxx>
#include "data/numberchar.h"
#include <comphelper/processfactory.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <o3tl/string_view.hxx>
#include <cstddef>
#include <map>
#include <mutex>
#include <memory>
#include <string_view>
#include <unordered_map>
#include <com/sun/star/i18n/CharacterClassification.hpp>
#include <com/sun/star/i18n/NativeNumberMode.hpp>
#include <com/sun/star/linguistic2/NumberText.hpp>
Go to the source code of this file.
|
namespace | i18npool |
| Constant values shared between i18npool and, for example, the number formatter.
|
|
|
static OUString | i18npool::getHebrewNativeNumberString (const OUString &aNumberString, bool useGeresh) |
|
static OUString | i18npool::getCyrillicNativeNumberString (const OUString &aNumberString) |
|
static OUString | i18npool::AsciiToNativeChar (const OUString &inStr, sal_Int32 nCount, Sequence< sal_Int32 > *pOffset, sal_Int16 number) |
|
static bool | i18npool::AsciiToNative_numberMaker (const sal_Unicode *str, sal_Int32 begin, sal_Int32 len, sal_Unicode *dst, sal_Int32 &count, sal_Int16 multiChar_index, Sequence< sal_Int32 > *pOffset, sal_Int32 startPos, const Number *number, const sal_Unicode *numberChar) |
|
static OUString | i18npool::AsciiToNative (const OUString &inStr, sal_Int32 nCount, Sequence< sal_Int32 > *pOffset, const Number *number) |
|
static bool | i18npool::natNumIn (sal_Int16 num, const sal_Int16 natnum[], sal_Int16 len) |
|
static void | i18npool::makeHebrewNumber (sal_Int64 value, OUStringBuffer &output, bool isLast, bool useGeresh) |
|
static void | i18npool::makeCyrillicNumber (sal_Int64 value, OUStringBuffer &output, bool addTitlo) |
|
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_i18n_NativeNumberSupplier_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &) |
|
|
HebrewNumberChar const | i18npool::HebrewNumberCharArray [] |
|
const sal_Unicode | i18npool::thousand [] = {0x05d0, 0x05dc, 0x05e3, 0x0} |
|
const sal_Unicode | i18npool::thousands [] = {0x05d0, 0x05dc, 0x05e4, 0x05d9, 0x0} |
|
const sal_Unicode | i18npool::thousands_last [] = {0x05d0, 0x05dc, 0x05e4, 0x05d9, 0x05dd, 0x0} |
|
const sal_Unicode | i18npool::geresh = 0x05f3 |
|
const sal_Unicode | i18npool::gershayim = 0x05f4 |
|
const sal_Unicode | i18npool::cyrillicThousandsMark = 0x0482 |
|
const sal_Unicode | i18npool::cyrillicTitlo = 0x0483 |
|
const sal_Unicode | i18npool::cyrillicTen = 0x0456 |
|
CyrillicNumberChar const | i18npool::CyrillicNumberCharArray [] |
|
◆ NUMBER_OMIT_ALL
◆ NUMBER_OMIT_ONE
◆ NUMBER_OMIT_ONE_1
#define NUMBER_OMIT_ONE_1 (1 << 2) |
◆ NUMBER_OMIT_ONE_2
#define NUMBER_OMIT_ONE_2 (1 << 3) |
◆ NUMBER_OMIT_ONE_3
#define NUMBER_OMIT_ONE_3 (1 << 4) |
◆ NUMBER_OMIT_ONE_4
#define NUMBER_OMIT_ONE_4 (1 << 5) |
◆ NUMBER_OMIT_ONE_5
#define NUMBER_OMIT_ONE_5 (1 << 6) |
◆ NUMBER_OMIT_ONE_6
#define NUMBER_OMIT_ONE_6 (1 << 7) |
◆ NUMBER_OMIT_ONE_67
◆ NUMBER_OMIT_ONE_7
#define NUMBER_OMIT_ONE_7 (1 << 8) |
◆ NUMBER_OMIT_ONE_CHECK
#define NUMBER_OMIT_ONE_CHECK |
( |
|
bit | ) |
(1 << (2 + bit)) |
◆ NUMBER_OMIT_ONLY_ZERO
#define NUMBER_OMIT_ONLY_ZERO (1 << 1) |
◆ NUMBER_OMIT_ZERO
#define NUMBER_OMIT_ZERO (1 << 0) |
◆ NUMBER_OMIT_ZERO_ONE
◆ NUMBER_OMIT_ZERO_ONE_67
◆ com_sun_star_i18n_NativeNumberSupplier_get_implementation()
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_i18n_NativeNumberSupplier_get_implementation |
( |
css::uno::XComponentContext * |
, |
|
|
css::uno::Sequence< css::uno::Any > const & |
|
|
) |
| |
◆ code
◆ DecimalSeparator
◆ ThousandSeparator
◆ value