LibreOffice Module i18npool (master) 1
|
#include <textconversion.hxx>
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 |
Definition at line 85 of file textconversion.hxx.
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.
|
private |
Definition at line 120 of file textconversion_ko.cxx.
References i18npool::Hangul_Index::address, bottom, ch, i18npool::Hangul_Index::code, count, i18npool::Hangul_Index::count, i18npool::TextConversionService::getFunctionBySymbol(), i, nLength, and top.
Referenced by getConversions().
|
overridevirtual |
Implements i18npool::TextConversionService.
Definition at line 288 of file textconversion_ko.cxx.
References aBuf, getConversions(), length, nLength, result, and start.
Referenced by getConversionWithOffset().
|
overridevirtual |
Implements i18npool::TextConversionService.
Definition at line 199 of file textconversion_ko.cxx.
References i18npool::checkScriptType(), end, getCharConversions(), length, maxLeftLength, maxRightLength, nLength, result, SCRIPT_HANGUL, SCRIPT_HANJA, SCRIPT_OTHERS, start, xCD, and xCDL.
Referenced by getConversion().
|
overridevirtual |
Implements i18npool::TextConversionService.
Definition at line 320 of file textconversion_ko.cxx.
References getConversion(), and nLength.
|
overridevirtual |
Implements i18npool::TextConversionService.
Definition at line 328 of file textconversion_ko.cxx.
|
private |
Definition at line 113 of file textconversion.hxx.
Referenced by getConversions(), and TextConversion_ko().
|
private |
Definition at line 114 of file textconversion.hxx.
Referenced by getConversions(), and TextConversion_ko().
|
private |
Definition at line 110 of file textconversion.hxx.
Referenced by getConversions(), and TextConversion_ko().
|
private |
Definition at line 112 of file textconversion.hxx.
Referenced by getConversions(), and TextConversion_ko().