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
 
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
 

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 85 of file textconversion.hxx.

Constructor & Destructor Documentation

◆ TextConversion_ko()

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

◆ getCharConversions()

Sequence< OUString > i18npool::TextConversion_ko::getCharConversions ( const OUString &  aText,
sal_Int32  nStartPos,
sal_Int32  nLength,
bool  toHanja 
)
private

◆ getConversion()

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, nLength, result, and start.

Referenced by getConversionWithOffset().

◆ getConversions()

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

◆ getConversionWithOffset()

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(), and nLength.

◆ interactiveConversion()

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

◆ maxLeftLength

sal_Int32 i18npool::TextConversion_ko::maxLeftLength
private

Definition at line 113 of file textconversion.hxx.

Referenced by getConversions(), and TextConversion_ko().

◆ maxRightLength

sal_Int32 i18npool::TextConversion_ko::maxRightLength
private

Definition at line 114 of file textconversion.hxx.

Referenced by getConversions(), and TextConversion_ko().

◆ xCD

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

Definition at line 110 of file textconversion.hxx.

Referenced by getConversions(), and TextConversion_ko().

◆ xCDL

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

Definition at line 112 of file textconversion.hxx.

Referenced by getConversions(), and TextConversion_ko().


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