LibreOffice Module svl (master) 1
|
#include <tools/color.hxx>
#include <o3tl/any.hxx>
#include <osl/mutex.hxx>
#include <osl/diagnose.h>
#include <rtl/character.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/MalformedNumberFormatException.hpp>
#include <com/sun/star/util/NotNumericException.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <comphelper/propertysequence.hxx>
#include <cppuhelper/supportsservice.hxx>
#include "numfmuno.hxx"
#include <svl/numformat.hxx>
#include <svl/numuno.hxx>
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <svl/itemprop.hxx>
#include <utility>
Go to the source code of this file.
Functions | |
static o3tl::span< const SfxItemPropertyMapEntry > | lcl_GetNumberFormatPropertyMap () |
static o3tl::span< const SfxItemPropertyMapEntry > | lcl_GetNumberSettingsPropertyMap () |
static LanguageType | lcl_GetLanguage (const lang::Locale &rLocale) |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_uno_util_numbers_SvNumberFormatterServiceObject_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &) |
Variables | |
constexpr OUStringLiteral | PROPERTYNAME_FMTSTR = u"FormatString" |
constexpr OUStringLiteral | PROPERTYNAME_LOCALE = u"Locale" |
constexpr OUStringLiteral | PROPERTYNAME_TYPE = u"Type" |
constexpr OUStringLiteral | PROPERTYNAME_COMMENT = u"Comment" |
constexpr OUStringLiteral | PROPERTYNAME_CURREXT = u"CurrencyExtension" |
constexpr OUStringLiteral | PROPERTYNAME_CURRSYM = u"CurrencySymbol" |
constexpr OUStringLiteral | PROPERTYNAME_CURRABB = u"CurrencyAbbreviation" |
constexpr OUStringLiteral | PROPERTYNAME_DECIMALS = u"Decimals" |
constexpr OUStringLiteral | PROPERTYNAME_LEADING = u"LeadingZeros" |
constexpr OUStringLiteral | PROPERTYNAME_NEGRED = u"NegativeRed" |
constexpr OUStringLiteral | PROPERTYNAME_STDFORM = u"StandardFormat" |
constexpr OUStringLiteral | PROPERTYNAME_THOUS = u"ThousandsSeparator" |
constexpr OUStringLiteral | PROPERTYNAME_USERDEF = u"UserDefined" |
constexpr OUStringLiteral | PROPERTYNAME_NOZERO = u"NoZero" |
constexpr OUStringLiteral | PROPERTYNAME_NULLDATE = u"NullDate" |
constexpr OUStringLiteral | PROPERTYNAME_STDDEC = u"StandardDecimals" |
constexpr OUStringLiteral | PROPERTYNAME_TWODIGIT = u"TwoDigitDateStart" |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_uno_util_numbers_SvNumberFormatterServiceObject_get_implementation | ( | css::uno::XComponentContext * | , |
css::uno::Sequence< css::uno::Any > const & | |||
) |
Definition at line 980 of file numfmuno.cxx.
|
static |
or throw an exception?
Definition at line 98 of file numfmuno.cxx.
References LanguageTag::convertToLanguageTypeWithFallback(), LANGUAGE_NONE, and LANGUAGE_SYSTEM.
Referenced by SvNumberFormatsObj::addNew(), SvNumberFormatsObj::addNewConverted(), SvNumberFormatterServiceObj::convertNumberToPreviewString(), SvNumberFormatsObj::generateFormat(), SvNumberFormatsObj::getFormatForLocale(), SvNumberFormatsObj::getFormatIndex(), SvNumberFormatsObj::getStandardFormat(), SvNumberFormatsObj::getStandardIndex(), SvNumberFormatsObj::queryKey(), SvNumberFormatsObj::queryKeys(), and SvNumberFormatterServiceObj::queryPreviewColorForNumber().
|
static |
Definition at line 65 of file numfmuno.cxx.
References cppu::UnoType< typename T >::get(), PROPERTYNAME_COMMENT, PROPERTYNAME_CURRABB, PROPERTYNAME_CURREXT, PROPERTYNAME_CURRSYM, PROPERTYNAME_DECIMALS, PROPERTYNAME_FMTSTR, PROPERTYNAME_LEADING, PROPERTYNAME_LOCALE, PROPERTYNAME_NEGRED, PROPERTYNAME_STDFORM, PROPERTYNAME_THOUS, PROPERTYNAME_TYPE, and PROPERTYNAME_USERDEF.
Referenced by SvNumberFormatObj::getPropertySetInfo().
|
static |
Definition at line 86 of file numfmuno.cxx.
References cppu::UnoType< typename T >::get(), PROPERTYNAME_NOZERO, PROPERTYNAME_NULLDATE, PROPERTYNAME_STDDEC, and PROPERTYNAME_TWODIGIT.
Referenced by SvNumberFormatSettingsObj::getPropertySetInfo().
|
constexpr |
Definition at line 47 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 50 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 48 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 49 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 51 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 44 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 52 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 45 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 53 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 58 of file numfmuno.cxx.
Referenced by SvNumberFormatSettingsObj::getPropertyValue(), lcl_GetNumberSettingsPropertyMap(), and SvNumberFormatSettingsObj::setPropertyValue().
|
constexpr |
Definition at line 59 of file numfmuno.cxx.
Referenced by SvNumberFormatSettingsObj::getPropertyValue(), lcl_GetNumberSettingsPropertyMap(), and SvNumberFormatSettingsObj::setPropertyValue().
|
constexpr |
Definition at line 60 of file numfmuno.cxx.
Referenced by SvNumberFormatSettingsObj::getPropertyValue(), lcl_GetNumberSettingsPropertyMap(), and SvNumberFormatSettingsObj::setPropertyValue().
|
constexpr |
Definition at line 54 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 55 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 61 of file numfmuno.cxx.
Referenced by SvNumberFormatSettingsObj::getPropertyValue(), lcl_GetNumberSettingsPropertyMap(), and SvNumberFormatSettingsObj::setPropertyValue().
|
constexpr |
Definition at line 46 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().
|
constexpr |
Definition at line 56 of file numfmuno.cxx.
Referenced by SvNumberFormatObj::getPropertyValue(), SvNumberFormatObj::getPropertyValues(), and lcl_GetNumberFormatPropertyMap().