Version 3.6.0.2, tag libreoffice-3.6.0.2
[LibreOffice.git] / i18npool / inc / indexentrysupplier_asian.hxx
blob642d1c942a1773f1dd5ef8a382cfcc563aec038b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef _I18N_INDEXENTRYSUPPLIER_ASIAN_HXX_
30 #define _I18N_INDEXENTRYSUPPLIER_ASIAN_HXX_
32 #include <indexentrysupplier_common.hxx>
33 #include <osl/module.h>
35 namespace com { namespace sun { namespace star { namespace i18n {
37 // ----------------------------------------------------
38 // class IndexEntrySupplier_asian
39 // ----------------------------------------------------
41 class IndexEntrySupplier_asian : public IndexEntrySupplier_Common {
42 public:
43 IndexEntrySupplier_asian( const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF );
44 ~IndexEntrySupplier_asian();
46 rtl::OUString SAL_CALL getIndexCharacter( const rtl::OUString& rIndexEntry,
47 const com::sun::star::lang::Locale& rLocale, const rtl::OUString& rAlgorithm )
48 throw (com::sun::star::uno::RuntimeException);
49 rtl::OUString SAL_CALL getIndexKey( const rtl::OUString& rIndexEntry,
50 const rtl::OUString& rPhoneticEntry, const com::sun::star::lang::Locale& rLocale)
51 throw (com::sun::star::uno::RuntimeException);
52 sal_Int16 SAL_CALL compareIndexEntry(
53 const rtl::OUString& rIndexEntry1, const rtl::OUString& rPhoneticEntry1,
54 const com::sun::star::lang::Locale& rLocale1,
55 const rtl::OUString& rIndexEntry2, const rtl::OUString& rPhoneticEntry2,
56 const com::sun::star::lang::Locale& rLocale2 )
57 throw (com::sun::star::uno::RuntimeException);
58 rtl::OUString SAL_CALL getPhoneticCandidate( const rtl::OUString& rIndexEntry,
59 const com::sun::star::lang::Locale& rLocale )
60 throw (com::sun::star::uno::RuntimeException);
61 #ifndef DISABLE_DYNLOADING
62 private:
63 oslModule hModule;
64 #endif
67 } } } }
68 #endif
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */