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

#include <textconversionImpl.hxx>

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

Public Member Functions

 TextConversionImpl (css::uno::Reference< css::uno::XComponentContext > xContext)
 
css::i18n::TextConversionResult SAL_CALL getConversions (const OUString &aText, sal_Int32 nStartPos, sal_Int32 nLength, const css::lang::Locale &aLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions) override
 
OUString SAL_CALL getConversion (const OUString &aText, sal_Int32 nStartPos, sal_Int32 nLength, const css::lang::Locale &aLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions) override
 
OUString SAL_CALL getConversionWithOffset (const OUString &aText, sal_Int32 nStartPos, sal_Int32 nLength, const css::lang::Locale &aLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions, css::uno::Sequence< sal_Int32 > &offset) override
 
sal_Bool SAL_CALL interactiveConversion (const css::lang::Locale &aLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions) override
 
OUString SAL_CALL getImplementationName () override
 
sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

void getLocaleSpecificTextConversion (const css::lang::Locale &rLocale)
 

Private Attributes

css::lang::Locale aLocale
 
css::uno::Reference< css::i18n::XExtendedTextConversion > xTC
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 32 of file textconversionImpl.hxx.

Constructor & Destructor Documentation

◆ TextConversionImpl()

i18npool::TextConversionImpl::TextConversionImpl ( css::uno::Reference< css::uno::XComponentContext >  xContext)
inline

Definition at line 39 of file textconversionImpl.hxx.

Member Function Documentation

◆ getConversion()

OUString SAL_CALL i18npool::TextConversionImpl::getConversion ( const OUString &  aText,
sal_Int32  nStartPos,
sal_Int32  nLength,
const css::lang::Locale &  aLocale,
sal_Int16  nTextConversionType,
sal_Int32  nTextConversionOptions 
)
override

Definition at line 45 of file textconversionImpl.cxx.

References getLocaleSpecificTextConversion(), nLength, and xTC.

◆ getConversions()

TextConversionResult SAL_CALL i18npool::TextConversionImpl::getConversions ( const OUString &  aText,
sal_Int32  nStartPos,
sal_Int32  nLength,
const css::lang::Locale &  aLocale,
sal_Int16  nTextConversionType,
sal_Int32  nTextConversionOptions 
)
override

Definition at line 33 of file textconversionImpl.cxx.

References getLocaleSpecificTextConversion(), nLength, and xTC.

◆ getConversionWithOffset()

OUString SAL_CALL i18npool::TextConversionImpl::getConversionWithOffset ( const OUString &  aText,
sal_Int32  nStartPos,
sal_Int32  nLength,
const css::lang::Locale &  aLocale,
sal_Int16  nTextConversionType,
sal_Int32  nTextConversionOptions,
css::uno::Sequence< sal_Int32 > &  offset 
)
override

Definition at line 57 of file textconversionImpl.cxx.

References getLocaleSpecificTextConversion(), nLength, and xTC.

◆ getImplementationName()

OUString SAL_CALL i18npool::TextConversionImpl::getImplementationName ( )
override

Definition at line 105 of file textconversionImpl.cxx.

◆ getLocaleSpecificTextConversion()

void i18npool::TextConversionImpl::getLocaleSpecificTextConversion ( const css::lang::Locale &  rLocale)
private

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL i18npool::TextConversionImpl::getSupportedServiceNames ( )
override

Definition at line 117 of file textconversionImpl.cxx.

◆ interactiveConversion()

sal_Bool SAL_CALL i18npool::TextConversionImpl::interactiveConversion ( const css::lang::Locale &  aLocale,
sal_Int16  nTextConversionType,
sal_Int32  nTextConversionOptions 
)
override

Definition at line 69 of file textconversionImpl.cxx.

References getLocaleSpecificTextConversion(), and xTC.

◆ supportsService()

sal_Bool SAL_CALL i18npool::TextConversionImpl::supportsService ( const OUString &  ServiceName)
override

Definition at line 111 of file textconversionImpl.cxx.

References cppu::supportsService().

Member Data Documentation

◆ aLocale

css::lang::Locale i18npool::TextConversionImpl::aLocale
private

Definition at line 66 of file textconversionImpl.hxx.

Referenced by getLocaleSpecificTextConversion().

◆ m_xContext

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

Definition at line 68 of file textconversionImpl.hxx.

Referenced by getLocaleSpecificTextConversion().

◆ xTC

css::uno::Reference< css::i18n::XExtendedTextConversion > i18npool::TextConversionImpl::xTC
private

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