LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/offapi/com/sun/star/linguistic2 - XDictionary.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-08-25 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_LINGUISTIC2_XDICTIONARY_HDL
       2                 :            : #define INCLUDED_COM_SUN_STAR_LINGUISTIC2_XDICTIONARY_HDL
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/uno/RuntimeException.hdl"
       7                 :            : #include "com/sun/star/lang/Locale.hdl"
       8                 :            : namespace com { namespace sun { namespace star { namespace linguistic2 { class XDictionaryEventListener; } } } }
       9                 :            : #include "com/sun/star/linguistic2/DictionaryType.hdl"
      10                 :            : namespace com { namespace sun { namespace star { namespace linguistic2 { class XDictionaryEntry; } } } }
      11                 :            : #include "com/sun/star/container/XNamed.hdl"
      12                 :            : #include "com/sun/star/uno/Reference.h"
      13                 :            : #include "com/sun/star/uno/Sequence.h"
      14                 :            : #include "cppu/macros.hxx"
      15                 :            : #include "rtl/ustring.hxx"
      16                 :            : #include "sal/types.h"
      17                 :            : 
      18                 :            : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      19                 :            : 
      20                 :            : namespace com { namespace sun { namespace star { namespace linguistic2 {
      21                 :            : 
      22                 :        224 : class SAL_NO_VTABLE XDictionary : public ::com::sun::star::container::XNamed
      23                 :            : {
      24                 :            : public:
      25                 :            : 
      26                 :            :     // Methods
      27                 :            :     virtual ::com::sun::star::linguistic2::DictionaryType SAL_CALL getDictionaryType(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      28                 :            :     virtual void SAL_CALL setActive( ::sal_Bool bActivate ) throw (::com::sun::star::uno::RuntimeException) = 0;
      29                 :            :     virtual ::sal_Bool SAL_CALL isActive(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      30                 :            :     virtual ::sal_Int32 SAL_CALL getCount(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      31                 :            :     virtual ::com::sun::star::lang::Locale SAL_CALL getLocale(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      32                 :            :     virtual void SAL_CALL setLocale( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
      33                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionaryEntry > SAL_CALL getEntry( const ::rtl::OUString& aWord ) throw (::com::sun::star::uno::RuntimeException) = 0;
      34                 :            :     virtual ::sal_Bool SAL_CALL addEntry( const ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionaryEntry >& xDicEntry ) throw (::com::sun::star::uno::RuntimeException) = 0;
      35                 :            :     virtual ::sal_Bool SAL_CALL add( const ::rtl::OUString& aWord, ::sal_Bool bIsNegative, const ::rtl::OUString& aRplcText ) throw (::com::sun::star::uno::RuntimeException) = 0;
      36                 :            :     virtual ::sal_Bool SAL_CALL remove( const ::rtl::OUString& aWord ) throw (::com::sun::star::uno::RuntimeException) = 0;
      37                 :            :     virtual ::sal_Bool SAL_CALL isFull(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      38                 :            :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionaryEntry > > SAL_CALL getEntries(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      39                 :            :     virtual void SAL_CALL clear(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      40                 :            :     virtual ::sal_Bool SAL_CALL addDictionaryEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionaryEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException) = 0;
      41                 :            :     virtual ::sal_Bool SAL_CALL removeDictionaryEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionaryEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException) = 0;
      42                 :            : 
      43                 :            :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      44                 :            : 
      45                 :            : protected:
      46                 :        214 :     ~XDictionary() throw () {} // avoid warnings about virtual members and non-virtual dtor
      47                 :            : };
      48                 :            : 
      49                 :            : 
      50                 :            : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::linguistic2::XDictionary const *);
      51                 :            : } } } }
      52                 :            : 
      53                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > *) SAL_THROW(());
      54                 :            : 
      55                 :            : #endif

Generated by: LCOV version 1.10