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

#include <textconversion.hxx>

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

Public Member Functions

 TextConversion_ko (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
 
- Public Member Functions inherited from i18npool::TextConversionService
 TextConversionService (const char *pImplName)
 
virtual ~TextConversionService () 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

css::uno::Sequence< OUString > getCharConversions (const OUString &aText, sal_Int32 nStartPos, sal_Int32 nLength, bool toHanja)
 

Private Attributes

css::uno::Reference< css::linguistic2::XConversionDictionary > xCD
 
css::uno::Reference< css::linguistic2::XConversionDictionaryList > xCDL
 
sal_Int32 maxLeftLength
 
sal_Int32 maxRightLength
 

Additional Inherited Members

- Protected Member Functions inherited from i18npool::TextConversionService
oslGenericFunction getFunctionBySymbol (const char *func)
 
- Protected Attributes inherited from i18npool::TextConversionService
oslModule hModule
 

Detailed Description

Definition at line 86 of file textconversion.hxx.

Constructor & Destructor Documentation

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

Definition at line 44 of file textconversion_ko.cxx.

References Locale, maxLeftLength, maxRightLength, xCD, and xCDL.

Member Function Documentation

Sequence< OUString > i18npool::TextConversion_ko::getCharConversions ( const OUString &  aText,
sal_Int32  nStartPos,
sal_Int32  nLength,
bool  toHanja 
)
private
OUString SAL_CALL i18npool::TextConversion_ko::getConversion ( const OUString &  aText,
sal_Int32  nStartPos,
sal_Int32  nLength,
const css::lang::Locale &  aLocale,
sal_Int16  nTextConversionType,
sal_Int32  nTextConversionOptions 
)
overridevirtual

Implements i18npool::TextConversionService.

Definition at line 288 of file textconversion_ko.cxx.

References aBuf, getConversions(), length, result, and start.

Referenced by getConversionWithOffset().

TextConversionResult SAL_CALL i18npool::TextConversion_ko::getConversions ( const OUString &  aText,
sal_Int32  nStartPos,
sal_Int32  nLength,
const css::lang::Locale &  aLocale,
sal_Int16  nTextConversionType,
sal_Int32  nTextConversionOptions 
)
overridevirtual
OUString SAL_CALL i18npool::TextConversion_ko::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 
)
overridevirtual

Implements i18npool::TextConversionService.

Definition at line 320 of file textconversion_ko.cxx.

References getConversion().

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

Implements i18npool::TextConversionService.

Definition at line 328 of file textconversion_ko.cxx.

Member Data Documentation

sal_Int32 i18npool::TextConversion_ko::maxLeftLength
private

Definition at line 114 of file textconversion.hxx.

Referenced by getConversions(), and TextConversion_ko().

sal_Int32 i18npool::TextConversion_ko::maxRightLength
private

Definition at line 115 of file textconversion.hxx.

Referenced by getConversions(), and TextConversion_ko().

css::uno::Reference< css::linguistic2::XConversionDictionary > i18npool::TextConversion_ko::xCD
private

Definition at line 111 of file textconversion.hxx.

Referenced by getConversions(), and TextConversion_ko().

css::uno::Reference< css::linguistic2::XConversionDictionaryList > i18npool::TextConversion_ko::xCDL
private

Definition at line 113 of file textconversion.hxx.

Referenced by getConversions(), and TextConversion_ko().


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