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 40 of file defaultnumberingprovider.hxx.

Constructor & Destructor Documentation

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

Definition at line 292 of file defaultnumberingprovider.cxx.

References m_xContext.

i18npool::DefaultNumberingProvider::~DefaultNumberingProvider ( )
overridevirtual

Definition at line 297 of file defaultnumberingprovider.cxx.

Member Function Documentation

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

Definition at line 308 of file defaultnumberingprovider.cxx.

References i18npool::LocaleDataImpl::get().

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

Definition at line 302 of file defaultnumberingprovider.cxx.

References i18npool::LocaleDataImpl::get().

OUString i18npool::DefaultNumberingProvider::getImplementationName ( )
overridevirtual

Definition at line 1163 of file defaultnumberingprovider.cxx.

OUString i18npool::DefaultNumberingProvider::getNumberingIdentifier ( sal_Int16  NumberingType)
overridevirtual
sal_Int16 i18npool::DefaultNumberingProvider::getNumberingType ( const OUString &  NumberingIdentifier)
overridevirtual
Sequence< sal_Int16 > i18npool::DefaultNumberingProvider::getSupportedNumberingTypes ( )
overridevirtual
Sequence< OUString > i18npool::DefaultNumberingProvider::getSupportedServiceNames ( )
overridevirtual

Definition at line 1173 of file defaultnumberingprovider.cxx.

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

Definition at line 1081 of file defaultnumberingprovider.cxx.

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

Referenced by getSupportedNumberingTypes().

OUString i18npool::DefaultNumberingProvider::makeNumberingIdentifier ( sal_Int16  index)
private
Exceptions
css::uno::RuntimeException

Definition at line 1056 of file defaultnumberingprovider.cxx.

References aProperties, Locale, makeNumberingString(), i18npool::Supported_NumberingType::nType, and result.

Referenced by getNumberingIdentifier(), getNumberingType(), and hasNumberingType().

OUString i18npool::DefaultNumberingProvider::makeNumberingString ( const css::uno::Sequence< css::beans::PropertyValue > &  aProperties,
const css::lang::Locale &  aLocale 
)
overridevirtual
sal_Bool i18npool::DefaultNumberingProvider::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 1168 of file defaultnumberingprovider.cxx.

References cppu::supportsService().

Member Data Documentation

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

Definition at line 79 of file defaultnumberingprovider.hxx.

Referenced by isScriptFlagEnabled(), and makeNumberingString().

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

Definition at line 83 of file defaultnumberingprovider.hxx.

Referenced by getNumberingType(), and hasNumberingType().

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

Definition at line 82 of file defaultnumberingprovider.hxx.

Referenced by makeNumberingString().

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

Definition at line 81 of file defaultnumberingprovider.hxx.

Referenced by makeNumberingString().

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

Definition at line 80 of file defaultnumberingprovider.hxx.

Referenced by isScriptFlagEnabled().


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