LibreOffice Module i18npool (master) 1
|
#include <defaultnumberingprovider.hxx>
Public Member Functions | |
DefaultNumberingProvider (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~DefaultNumberingProvider () override |
virtual css::uno::Sequence< css::uno::Reference< css::container::XIndexAccess > > SAL_CALL | getDefaultOutlineNumberings (const css::lang::Locale &aLocale) override |
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL | getDefaultContinuousNumberingLevels (const css::lang::Locale &aLocale) override |
virtual OUString SAL_CALL | makeNumberingString (const css::uno::Sequence< css::beans::PropertyValue > &aProperties, const css::lang::Locale &aLocale) override |
virtual css::uno::Sequence< sal_Int16 > SAL_CALL | getSupportedNumberingTypes () override |
virtual sal_Int16 SAL_CALL | getNumberingType (const OUString &NumberingIdentifier) override |
virtual sal_Bool SAL_CALL | hasNumberingType (const OUString &NumberingIdentifier) override |
virtual OUString SAL_CALL | getNumberingIdentifier (sal_Int16 NumberingType) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Member Functions | |
OUString | makeNumberingIdentifier (sal_Int16 index) |
bool | isScriptFlagEnabled (const OUString &aName) |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::container::XHierarchicalNameAccess > | xHierarchicalNameAccess |
rtl::Reference< TransliterationImpl > | translit |
rtl::Reference< NativeNumberSupplierService > | mxNatNum |
std::map< OUString, const Supported_NumberingType * > | maSupportedTypesCache |
Definition at line 39 of file defaultnumberingprovider.hxx.
i18npool::DefaultNumberingProvider::DefaultNumberingProvider | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
Definition at line 333 of file defaultnumberingprovider.cxx.
References m_xContext.
|
overridevirtual |
Definition at line 338 of file defaultnumberingprovider.cxx.
|
overridevirtual |
Definition at line 349 of file defaultnumberingprovider.cxx.
References i18npool::LocaleDataImpl::get().
|
overridevirtual |
Definition at line 343 of file defaultnumberingprovider.cxx.
References i18npool::LocaleDataImpl::get().
|
overridevirtual |
Definition at line 1284 of file defaultnumberingprovider.cxx.
|
overridevirtual |
Definition at line 1276 of file defaultnumberingprovider.cxx.
References i18npool::aSupportedTypes, i, makeNumberingIdentifier(), i18npool::nSupported_NumberingTypes, and nType.
|
overridevirtual |
Definition at line 1248 of file defaultnumberingprovider.cxx.
References i18npool::aSupportedTypes, i, makeNumberingIdentifier(), maSupportedTypesCache, i18npool::nSupported_NumberingTypes, and i18npool::Supported_NumberingType::nType.
|
overridevirtual |
Definition at line 1231 of file defaultnumberingprovider.cxx.
References i18npool::aSupportedTypes, i, isScriptFlagEnabled(), LANG_ALL, LANG_CJK, LANG_CTL, i18npool::nSupported_NumberingTypes, and i18npool::Supported_NumberingType::nType.
|
overridevirtual |
Definition at line 1294 of file defaultnumberingprovider.cxx.
|
overridevirtual |
Definition at line 1262 of file defaultnumberingprovider.cxx.
References i18npool::aSupportedTypes, i, makeNumberingIdentifier(), maSupportedTypesCache, and i18npool::nSupported_NumberingTypes.
|
private |
css::uno::RuntimeException |
Definition at line 1202 of file defaultnumberingprovider.cxx.
References aName, Any, comphelper::InitAnyPropertySequence(), m_xContext, and xHierarchicalNameAccess.
Referenced by getSupportedNumberingTypes().
|
private |
css::uno::RuntimeException |
Definition at line 1160 of file defaultnumberingprovider.cxx.
References aProperties, i18npool::aSupportedTypes, index, Locale, makeNumberingString(), i18npool::nSupported_NumberingTypes, nType, i18npool::Supported_NumberingType::nType, and result.
Referenced by getNumberingIdentifier(), getNumberingType(), and hasNumberingType().
|
overridevirtual |
Definition at line 643 of file defaultnumberingprovider.cxx.
References aProperties, ARABIC, BITMAP, Exception, i18npool::getPropertyByName(), i18npool::lcl_formatArabicZero(), i18npool::lcl_formatChars(), i18npool::lcl_formatChars1(), i18npool::lcl_formatChars2(), i18npool::lcl_formatChars3(), i18npool::lcl_formatCharsGR(), i18npool::lcl_formatKoreanLegalWord(), i18npool::lcl_formatPersianWord(), Locale, i18npool::lowerLetter, m_xContext, mxNatNum, prefix, result, SAL_N_ELEMENTS, i18npool::should_ignore(), table, i18npool::table_AIUFullWidth_ja_JP, i18npool::table_AIUHalfWidth_ja_JP, i18npool::table_Alphabet_ar, i18npool::table_Alphabet_ar_abjad, i18npool::table_Alphabet_dz, i18npool::table_Alphabet_fa, i18npool::table_Alphabet_he, i18npool::table_Alphabet_km, i18npool::table_Alphabet_lo, i18npool::table_Alphabet_my, i18npool::table_Alphabet_ne, i18npool::table_Alphabet_th, i18npool::table_Chicago, i18npool::table_CircledNumber, i18npool::table_CyrillicLowerLetter_bg, i18npool::table_CyrillicLowerLetter_ru, i18npool::table_CyrillicLowerLetter_sr, i18npool::table_CyrillicLowerLetter_uk, i18npool::table_CyrillicUpperLetter_bg, i18npool::table_CyrillicUpperLetter_ru, i18npool::table_CyrillicUpperLetter_sr, i18npool::table_CyrillicUpperLetter_uk, i18npool::table_DiZi_zh, i18npool::table_GreekLowerLetter, i18npool::table_GreekUpperLetter, i18npool::table_HangulCircledJamo_ko, i18npool::table_HangulCircledSyllable_ko, i18npool::table_HangulJamo_ko, i18npool::table_HangulSyllable_ko, i18npool::table_IROHAFullWidth_ja_JP, i18npool::table_IROHAHalfWidth_ja_JP, i18npool::table_TianGan_zh, i18npool::toRoman(), translit, and i18npool::upperLetter.
Referenced by makeNumberingIdentifier().
|
overridevirtual |
Definition at line 1289 of file defaultnumberingprovider.cxx.
References cppu::supportsService().
|
private |
Definition at line 78 of file defaultnumberingprovider.hxx.
Referenced by isScriptFlagEnabled(), and makeNumberingString().
|
private |
Definition at line 82 of file defaultnumberingprovider.hxx.
Referenced by getNumberingType(), and hasNumberingType().
|
private |
Definition at line 81 of file defaultnumberingprovider.hxx.
Referenced by makeNumberingString().
|
private |
Definition at line 80 of file defaultnumberingprovider.hxx.
Referenced by makeNumberingString().
|
private |
Definition at line 79 of file defaultnumberingprovider.hxx.
Referenced by isScriptFlagEnabled().