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 (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
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 31 of file textconversionImpl.hxx.

Constructor & Destructor Documentation

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

Definition at line 38 of file textconversionImpl.hxx.

Member Function Documentation

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.

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.

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.

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

Definition at line 105 of file textconversionImpl.cxx.

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

Definition at line 77 of file textconversionImpl.cxx.

References m_xContext.

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

Definition at line 117 of file textconversionImpl.cxx.

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.

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

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

Definition at line 65 of file textconversionImpl.hxx.

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

Definition at line 67 of file textconversionImpl.hxx.

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

Definition at line 66 of file textconversionImpl.hxx.


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