update dev300-m58
[ooovba.git] / i18npool / inc / transliteration_caseignore.hxx
blob22dae46d07784a537e81b4e36a36eedec1863aa3
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: transliteration_caseignore.hxx,v $
10 * $Revision: 1.5.24.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef TRANSLITERATION_CASE_IGNORE_H
31 #define TRANSLITERATION_CASE_IGNORE_H
33 #define TRANSLITERATION_UPPER_LOWER
34 #include "transliteration_body.hxx"
36 namespace com { namespace sun { namespace star { namespace i18n {
38 class Transliteration_caseignore: public Transliteration_body
40 public:
41 Transliteration_caseignore();
43 // Methods which are shared.
44 sal_Int16 SAL_CALL getType() throw(com::sun::star::uno::RuntimeException);
46 void SAL_CALL loadModule( TransliterationModules modName, const com::sun::star::lang::Locale& rLocale )
47 throw(com::sun::star::uno::RuntimeException);
49 com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL transliterateRange(
50 const rtl::OUString& str1, const rtl::OUString& str2 )
51 throw(com::sun::star::uno::RuntimeException);
53 sal_Bool SAL_CALL equals(
54 const rtl::OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
55 const rtl::OUString& src2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2)
56 throw(com::sun::star::uno::RuntimeException);
58 sal_Int32 SAL_CALL compareSubstring(
59 const rtl::OUString& s1, sal_Int32 off1, sal_Int32 len1,
60 const rtl::OUString& s2, sal_Int32 off2, sal_Int32 len2)
61 throw(com::sun::star::uno::RuntimeException);
63 sal_Int32 SAL_CALL compareString(
64 const rtl::OUString& s1,
65 const rtl::OUString& s2)
66 throw(com::sun::star::uno::RuntimeException);
68 protected:
69 TransliterationModules moduleLoaded;
70 private:
71 sal_Int32 SAL_CALL compare(
72 const rtl::OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
73 const rtl::OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2)
74 throw(com::sun::star::uno::RuntimeException);
77 } } } }
79 #endif