diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-11-08 08:15:20 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-11-08 08:15:20 +0000 |
commit | 1094f343e956f73d360b78a99226f4583292db60 (patch) | |
tree | a52b07ade523c8d4133e9b26864de7407144567d /i18npool/inc/textconversionImpl.hxx | |
parent | 85d4e7cac7975b80857d11c320fa850453050080 (diff) |
INTEGRATION: CWS textconversion (1.2.182); FILE MERGED
2005/10/27 00:42:54 tl 1.2.182.2: RESYNC: (1.2-1.3); FILE MERGED
2005/07/18 20:53:23 khong 1.2.182.1: #124006# add extended text conversion API
Diffstat (limited to 'i18npool/inc/textconversionImpl.hxx')
-rw-r--r-- | i18npool/inc/textconversionImpl.hxx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/i18npool/inc/textconversionImpl.hxx b/i18npool/inc/textconversionImpl.hxx index 865890019a1c..1f78651f923d 100644 --- a/i18npool/inc/textconversionImpl.hxx +++ b/i18npool/inc/textconversionImpl.hxx @@ -4,9 +4,9 @@ * * $RCSfile: textconversionImpl.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-07 16:56:45 $ + * last change: $Author: rt $ $Date: 2005-11-08 09:15:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -37,7 +37,7 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/i18n/XTextConversion.hpp> +#include <com/sun/star/i18n/XExtendedTextConversion.hpp> #include <cppuhelper/implbase2.hxx> // helper for implementations namespace com { namespace sun { namespace star { namespace i18n { @@ -47,7 +47,7 @@ namespace com { namespace sun { namespace star { namespace i18n { // ---------------------------------------------------- class TextConversionImpl : public cppu::WeakImplHelper2 < - com::sun::star::i18n::XTextConversion, + com::sun::star::i18n::XExtendedTextConversion, com::sun::star::lang::XServiceInfo > { @@ -69,6 +69,13 @@ public: throw( com::sun::star::uno::RuntimeException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::NoSupportException ); + rtl::OUString SAL_CALL + getConversionWithOffset( const ::rtl::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 ); sal_Bool SAL_CALL interactiveConversion( const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions ) @@ -88,7 +95,7 @@ public: throw( com::sun::star::uno::RuntimeException ); private : com::sun::star::lang::Locale aLocale; - com::sun::star::uno::Reference < com::sun::star::i18n::XTextConversion > xTC; + com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedTextConversion > xTC; com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > xMSF; void SAL_CALL getLocaleSpecificTextConversion( const com::sun::star::lang::Locale& rLocale ) |