LibreOffice Module i18npool (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
i18npool::TextConversionService Class Referenceabstract

#include <textconversion.hxx>

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

Public Member Functions

 TextConversionService (const char *pImplName)
 
virtual ~TextConversionService () override
 
virtual 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=0
 
virtual 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=0
 
virtual 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=0
 
virtual sal_Bool SAL_CALL interactiveConversion (const css::lang::Locale &aLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions) override=0
 
OUString SAL_CALL getImplementationName () override
 
sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Protected Member Functions

oslGenericFunction getFunctionBySymbol (const char *func)
 

Protected Attributes

oslModule hModule
 

Private Attributes

const char * implementationName
 

Detailed Description

Definition at line 34 of file textconversion.hxx.

Constructor & Destructor Documentation

◆ TextConversionService()

i18npool::TextConversionService::TextConversionService ( const char *  pImplName)

Definition at line 33 of file textconversion.cxx.

References hModule, SAL_DLLEXTENSION, SAL_DLLPREFIX, and i18npool::thisModule().

◆ ~TextConversionService()

i18npool::TextConversionService::~TextConversionService ( )
overridevirtual

Definition at line 47 of file textconversion.cxx.

References hModule.

Member Function Documentation

◆ getConversion()

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

◆ getConversions()

virtual css::i18n::TextConversionResult SAL_CALL i18npool::TextConversionService::getConversions ( const OUString &  aText,
sal_Int32  nStartPos,
sal_Int32  nLength,
const css::lang::Locale &  aLocale,
sal_Int16  nTextConversionType,
sal_Int32  nTextConversionOptions 
)
overridepure virtual

◆ getConversionWithOffset()

virtual OUString SAL_CALL i18npool::TextConversionService::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 
)
overridepure virtual

◆ getFunctionBySymbol()

oslGenericFunction i18npool::TextConversionService::getFunctionBySymbol ( const char *  func)
protected

◆ getImplementationName()

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

Definition at line 73 of file textconversion.cxx.

References implementationName.

◆ getSupportedServiceNames()

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

Definition at line 85 of file textconversion.cxx.

References implementationName.

◆ interactiveConversion()

virtual sal_Bool SAL_CALL i18npool::TextConversionService::interactiveConversion ( const css::lang::Locale &  aLocale,
sal_Int16  nTextConversionType,
sal_Int32  nTextConversionOptions 
)
overridepure virtual

◆ supportsService()

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

Definition at line 79 of file textconversion.cxx.

References cppu::supportsService().

Member Data Documentation

◆ hModule

oslModule i18npool::TextConversionService::hModule
protected

◆ implementationName

const char* i18npool::TextConversionService::implementationName
private

Definition at line 68 of file textconversion.hxx.

Referenced by getImplementationName(), and getSupportedServiceNames().


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