summaryrefslogtreecommitdiff
path: root/i18npool/inc/textconversion.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-19 10:34:45 +0200
committerEike Rathke <erack@redhat.com>2015-10-19 11:15:23 +0000
commit184637be60fcdbde3b3fb0ab0c1d158a92f63889 (patch)
treef4995fb1e5be06419efe4352e60984cf4d531d61 /i18npool/inc/textconversion.hxx
parentc8479bdc5b007ca5ffe1d553be3d90fb03424526 (diff)
com::sun::star->css in i18npool
Change-Id: I13a290cba0f38c79eb2d93148b972d3d931c3862 Reviewed-on: https://gerrit.libreoffice.org/19445 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18npool/inc/textconversion.hxx')
-rw-r--r--i18npool/inc/textconversion.hxx136
1 files changed, 68 insertions, 68 deletions
diff --git a/i18npool/inc/textconversion.hxx b/i18npool/inc/textconversion.hxx
index 1b58e62337f9..6b8b16d41bc1 100644
--- a/i18npool/inc/textconversion.hxx
+++ b/i18npool/inc/textconversion.hxx
@@ -35,52 +35,52 @@ namespace com { namespace sun { namespace star { namespace i18n {
class TextConversionService: public cppu::WeakImplHelper
<
- com::sun::star::i18n::XExtendedTextConversion,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XExtendedTextConversion,
+ css::lang::XServiceInfo
>
{
public:
TextConversionService(const char* pImplName);
virtual ~TextConversionService();
// Methods
- virtual com::sun::star::i18n::TextConversionResult SAL_CALL
+ virtual css::i18n::TextConversionResult SAL_CALL
getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override = 0;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override = 0;
virtual OUString SAL_CALL
getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override = 0;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override = 0;
virtual OUString SAL_CALL
getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
- sal_Int32 nTextConversionOptions, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override = 0;
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ sal_Int32 nTextConversionOptions, css::uno::Sequence< sal_Int32 >& offset )
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override = 0;
virtual sal_Bool SAL_CALL
- interactiveConversion(const ::com::sun::star::lang::Locale& aLocale,
+ interactiveConversion(const css::lang::Locale& aLocale,
sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override = 0;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override = 0;
//XServiceInfo
OUString SAL_CALL
getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
sal_Bool SAL_CALL
supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- com::sun::star::uno::Sequence< OUString > SAL_CALL
+ throw( css::uno::RuntimeException, std::exception ) override;
+ css::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
const sal_Char* implementationName;
protected:
@@ -103,46 +103,46 @@ typedef struct {
class TextConversion_ko : public TextConversionService
{
public:
- TextConversion_ko( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ TextConversion_ko( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
// Methods
- com::sun::star::i18n::TextConversionResult SAL_CALL
+ css::i18n::TextConversionResult SAL_CALL
getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
- sal_Int32 nTextConversionOptions, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ sal_Int32 nTextConversionOptions, css::uno::Sequence< sal_Int32 >& offset )
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
sal_Bool SAL_CALL
- interactiveConversion(const ::com::sun::star::lang::Locale& aLocale,
+ interactiveConversion(const css::lang::Locale& aLocale,
sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
private:
// Hangul/Hanja system dictionary
- com::sun::star::uno::Reference < com::sun::star::linguistic2::XConversionDictionary > xCD;
+ css::uno::Reference < css::linguistic2::XConversionDictionary > xCD;
// Hangul/Hanja user defined dictionary list
- com::sun::star::uno::Reference < com::sun::star::linguistic2::XConversionDictionaryList > xCDL;
+ css::uno::Reference < css::linguistic2::XConversionDictionaryList > xCDL;
sal_Int32 maxLeftLength;
sal_Int32 maxRightLength;
- com::sun::star::uno::Sequence< OUString > SAL_CALL
+ css::uno::Sequence< OUString > SAL_CALL
getCharConversions(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, bool toHanja);
};
@@ -159,44 +159,44 @@ typedef struct {
class TextConversion_zh : public TextConversionService
{
public:
- TextConversion_zh( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ TextConversion_zh( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
// Methods
- com::sun::star::i18n::TextConversionResult SAL_CALL
+ css::i18n::TextConversionResult SAL_CALL
getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
- sal_Int32 nTextConversionOptions, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ sal_Int32 nTextConversionOptions, css::uno::Sequence< sal_Int32 >& offset )
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
sal_Bool SAL_CALL
- interactiveConversion(const ::com::sun::star::lang::Locale& aLocale,
+ interactiveConversion(const css::lang::Locale& aLocale,
sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
private:
// user defined dictionary list
- com::sun::star::uno::Reference < com::sun::star::linguistic2::XConversionDictionaryList > xCDL;
+ css::uno::Reference < css::linguistic2::XConversionDictionaryList > xCDL;
OUString SAL_CALL getWordConversion(const OUString& aText,
- sal_Int32 nStartPos, sal_Int32 nLength, bool toSChinese, sal_Int32 nConversionOptions, com::sun::star::uno::Sequence <sal_Int32>& offset);
+ sal_Int32 nStartPos, sal_Int32 nLength, bool toSChinese, sal_Int32 nConversionOptions, css::uno::Sequence <sal_Int32>& offset);
rtl:: OUString SAL_CALL getCharConversion(const rtl:: OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, bool toSChinese, sal_Int32 nConversionOptions);
- com::sun::star::lang::Locale aLocale;
+ css::lang::Locale aLocale;
};
} // i18n