LibreOffice Module i18npool (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
i18npool::DefaultNumberingProvider Class Referencefinal

#include <defaultnumberingprovider.hxx>

Inheritance diagram for i18npool::DefaultNumberingProvider:
[legend]
Collaboration diagram for i18npool::DefaultNumberingProvider:
[legend]

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< TransliterationImpltranslit
 
rtl::Reference< NativeNumberSupplierServicemxNatNum
 
std::map< OUString, const Supported_NumberingType * > maSupportedTypesCache
 

Detailed Description

Definition at line 39 of file defaultnumberingprovider.hxx.

Constructor & Destructor Documentation

◆ DefaultNumberingProvider()

i18npool::DefaultNumberingProvider::DefaultNumberingProvider ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)

Definition at line 333 of file defaultnumberingprovider.cxx.

References m_xContext.

◆ ~DefaultNumberingProvider()

i18npool::DefaultNumberingProvider::~DefaultNumberingProvider ( )
overridevirtual

Definition at line 338 of file defaultnumberingprovider.cxx.

Member Function Documentation

◆ getDefaultContinuousNumberingLevels()

Sequence< Sequence< beans::PropertyValue > > i18npool::DefaultNumberingProvider::getDefaultContinuousNumberingLevels ( const css::lang::Locale &  aLocale)
overridevirtual

Definition at line 349 of file defaultnumberingprovider.cxx.

References i18npool::LocaleDataImpl::get().

◆ getDefaultOutlineNumberings()

Sequence< Reference< container::XIndexAccess > > i18npool::DefaultNumberingProvider::getDefaultOutlineNumberings ( const css::lang::Locale &  aLocale)
overridevirtual

Definition at line 343 of file defaultnumberingprovider.cxx.

References i18npool::LocaleDataImpl::get().

◆ getImplementationName()

OUString i18npool::DefaultNumberingProvider::getImplementationName ( )
overridevirtual

Definition at line 1284 of file defaultnumberingprovider.cxx.

◆ getNumberingIdentifier()

OUString i18npool::DefaultNumberingProvider::getNumberingIdentifier ( sal_Int16  NumberingType)
overridevirtual

◆ getNumberingType()

sal_Int16 i18npool::DefaultNumberingProvider::getNumberingType ( const OUString &  NumberingIdentifier)
overridevirtual

◆ getSupportedNumberingTypes()

Sequence< sal_Int16 > i18npool::DefaultNumberingProvider::getSupportedNumberingTypes ( )
overridevirtual

◆ getSupportedServiceNames()

Sequence< OUString > i18npool::DefaultNumberingProvider::getSupportedServiceNames ( )
overridevirtual

Definition at line 1294 of file defaultnumberingprovider.cxx.

◆ hasNumberingType()

sal_Bool i18npool::DefaultNumberingProvider::hasNumberingType ( const OUString &  NumberingIdentifier)
overridevirtual

◆ isScriptFlagEnabled()

bool i18npool::DefaultNumberingProvider::isScriptFlagEnabled ( const OUString &  aName)
private
Exceptions
css::uno::RuntimeException

Definition at line 1202 of file defaultnumberingprovider.cxx.

References aName, Any, comphelper::InitAnyPropertySequence(), m_xContext, and xHierarchicalNameAccess.

Referenced by getSupportedNumberingTypes().

◆ makeNumberingIdentifier()

OUString i18npool::DefaultNumberingProvider::makeNumberingIdentifier ( sal_Int16  index)
private

◆ makeNumberingString()

OUString i18npool::DefaultNumberingProvider::makeNumberingString ( const css::uno::Sequence< css::beans::PropertyValue > &  aProperties,
const css::lang::Locale &  aLocale 
)
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().

◆ supportsService()

sal_Bool i18npool::DefaultNumberingProvider::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 1289 of file defaultnumberingprovider.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > i18npool::DefaultNumberingProvider::m_xContext
private

Definition at line 78 of file defaultnumberingprovider.hxx.

Referenced by isScriptFlagEnabled(), and makeNumberingString().

◆ maSupportedTypesCache

std::map<OUString, const Supported_NumberingType*> i18npool::DefaultNumberingProvider::maSupportedTypesCache
private

Definition at line 82 of file defaultnumberingprovider.hxx.

Referenced by getNumberingType(), and hasNumberingType().

◆ mxNatNum

rtl::Reference<NativeNumberSupplierService> i18npool::DefaultNumberingProvider::mxNatNum
private

Definition at line 81 of file defaultnumberingprovider.hxx.

Referenced by makeNumberingString().

◆ translit

rtl::Reference<TransliterationImpl> i18npool::DefaultNumberingProvider::translit
private

Definition at line 80 of file defaultnumberingprovider.hxx.

Referenced by makeNumberingString().

◆ xHierarchicalNameAccess

css::uno::Reference< css::container::XHierarchicalNameAccess > i18npool::DefaultNumberingProvider::xHierarchicalNameAccess
private

Definition at line 79 of file defaultnumberingprovider.hxx.

Referenced by isScriptFlagEnabled().


The documentation for this class was generated from the following files: