LCOV - code coverage report
Current view: top level - i18npool/inc - indexentrysupplier_ja_phonetic.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 8 0.0 %
Date: 2014-04-11 Functions: 0 15 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #ifndef _I18N_INDEXENTRYSUPPLIER_JA_PHONETIC_HXX_
      21             : #define _I18N_INDEXENTRYSUPPLIER_JA_PHONETIC_HXX_
      22             : 
      23             : #include <indexentrysupplier_common.hxx>
      24             : 
      25             : namespace com { namespace sun { namespace star { namespace i18n {
      26             : 
      27             : 
      28             : //  class IndexEntrySupplier_ja_phonetic
      29             : 
      30             : 
      31           0 : class IndexEntrySupplier_ja_phonetic : public IndexEntrySupplier_Common {
      32             : public:
      33           0 :     IndexEntrySupplier_ja_phonetic( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ) : IndexEntrySupplier_Common(rxContext) {
      34           0 :         implementationName = "com.sun.star.i18n.IndexEntrySupplier_ja_phonetic";
      35           0 :     };
      36             :     virtual OUString SAL_CALL getIndexCharacter( const OUString& rIndexEntry,\
      37             :         const com::sun::star::lang::Locale& rLocale, const OUString& rSortAlgorithm ) \
      38             :         throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;\
      39             :     virtual OUString SAL_CALL getIndexKey( const OUString& IndexEntry, \
      40             :         const OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale )\
      41             :         throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;\
      42             :     virtual sal_Int16 SAL_CALL compareIndexEntry( const OUString& IndexEntry1,\
      43             :         const OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1,\
      44             :         const OUString& IndexEntry2, const OUString& PhoneticEntry2,\
      45             :         const com::sun::star::lang::Locale& rLocale2 )\
      46             :         throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;\
      47             : };
      48             : 
      49             : #define INDEXENTRYSUPPLIER_JA_PHONETIC( algorithm ) \
      50             : class IndexEntrySupplier_##algorithm : public IndexEntrySupplier_ja_phonetic {\
      51             : public:\
      52             :     IndexEntrySupplier_##algorithm (const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext) : IndexEntrySupplier_ja_phonetic (rxContext) {\
      53             :         implementationName = "com.sun.star.i18n.IndexEntrySupplier_"#algorithm;\
      54             :     };\
      55             :     virtual sal_Bool SAL_CALL loadAlgorithm(\
      56             :         const com::sun::star::lang::Locale& rLocale,\
      57             :         const OUString& SortAlgorithm, sal_Int32 collatorOptions ) \
      58             :         throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;\
      59             : };
      60             : 
      61           0 : INDEXENTRYSUPPLIER_JA_PHONETIC( ja_phonetic_alphanumeric_first_by_syllable )
      62           0 : INDEXENTRYSUPPLIER_JA_PHONETIC( ja_phonetic_alphanumeric_first_by_consonant )
      63           0 : INDEXENTRYSUPPLIER_JA_PHONETIC( ja_phonetic_alphanumeric_last_by_syllable )
      64           0 : INDEXENTRYSUPPLIER_JA_PHONETIC( ja_phonetic_alphanumeric_last_by_consonant )
      65             : 
      66             : } } } }
      67             : #endif
      68             : 
      69             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10