LCOV - code coverage report
Current view: top level - i18npool/inc - textconversionImpl.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-08-25 Functions: 0 3 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 2 0.0 %

           Branch data     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                 :            : #ifndef _I18N_TEXTCONERSION_HXX_
      20                 :            : #define _I18N_TEXTCONERSION_HXX_
      21                 :            : 
      22                 :            : #include <com/sun/star/lang/XMultiServiceFactory.hpp>
      23                 :            : #include <com/sun/star/lang/XServiceInfo.hpp>
      24                 :            : #include <com/sun/star/i18n/XExtendedTextConversion.hpp>
      25                 :            : #include <cppuhelper/implbase2.hxx> // helper for implementations
      26                 :            : 
      27                 :            : namespace com { namespace sun { namespace star { namespace i18n {
      28                 :            : 
      29                 :            : //  ----------------------------------------------------
      30                 :            : //  class TextConversion
      31                 :            : //  ----------------------------------------------------
      32         [ #  # ]:          0 : class TextConversionImpl : public cppu::WeakImplHelper2
      33                 :            : <
      34                 :            :     com::sun::star::i18n::XExtendedTextConversion,
      35                 :            :     com::sun::star::lang::XServiceInfo
      36                 :            : >
      37                 :            : {
      38                 :            : public:
      39                 :          0 :     TextConversionImpl( const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF ) : xMSF(rxMSF) {};
      40                 :            : 
      41                 :            :         // Methods
      42                 :            :         com::sun::star::i18n::TextConversionResult SAL_CALL
      43                 :            :         getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
      44                 :            :             const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
      45                 :            :             sal_Int32 nTextConversionOptions )
      46                 :            :             throw(  com::sun::star::uno::RuntimeException,
      47                 :            :                     com::sun::star::lang::IllegalArgumentException,
      48                 :            :                     com::sun::star::lang::NoSupportException );
      49                 :            :         rtl::OUString SAL_CALL
      50                 :            :         getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
      51                 :            :             const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
      52                 :            :             sal_Int32 nTextConversionOptions )
      53                 :            :             throw(  com::sun::star::uno::RuntimeException,
      54                 :            :                     com::sun::star::lang::IllegalArgumentException,
      55                 :            :                     com::sun::star::lang::NoSupportException );
      56                 :            :         rtl::OUString SAL_CALL
      57                 :            :         getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
      58                 :            :             const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
      59                 :            :             sal_Int32 nTextConversionOptions, com::sun::star::uno::Sequence< sal_Int32 >& offset )
      60                 :            :             throw(  com::sun::star::uno::RuntimeException,
      61                 :            :                     com::sun::star::lang::IllegalArgumentException,
      62                 :            :                     com::sun::star::lang::NoSupportException );
      63                 :            :         sal_Bool SAL_CALL
      64                 :            :         interactiveConversion( const ::com::sun::star::lang::Locale& aLocale,
      65                 :            :             sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions )
      66                 :            :             throw(  com::sun::star::uno::RuntimeException,
      67                 :            :                     com::sun::star::lang::IllegalArgumentException,
      68                 :            :                     com::sun::star::lang::NoSupportException );
      69                 :            : 
      70                 :            :     //XServiceInfo
      71                 :            :     rtl::OUString SAL_CALL
      72                 :            :         getImplementationName()
      73                 :            :             throw( com::sun::star::uno::RuntimeException );
      74                 :            :     sal_Bool SAL_CALL
      75                 :            :         supportsService(const rtl::OUString& ServiceName)
      76                 :            :             throw( com::sun::star::uno::RuntimeException );
      77                 :            :     com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL
      78                 :            :         getSupportedServiceNames()
      79                 :            :             throw( com::sun::star::uno::RuntimeException );
      80                 :            : private :
      81                 :            :     com::sun::star::lang::Locale aLocale;
      82                 :            :     com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedTextConversion > xTC;
      83                 :            :     com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > xMSF;
      84                 :            : 
      85                 :            :     void SAL_CALL getLocaleSpecificTextConversion( const com::sun::star::lang::Locale& rLocale )
      86                 :            :             throw( com::sun::star::lang::NoSupportException );
      87                 :            : };
      88                 :            : 
      89                 :            : } // i18n
      90                 :            : } // star
      91                 :            : } // sun
      92                 :            : } // com
      93                 :            : 
      94                 :            : 
      95                 :            : #endif
      96                 :            : 
      97                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10