LCOV - code coverage report
Current view: top level - libreoffice/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-12-27 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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           3 : class SAL_NO_VTABLE XDictionary : public css::container::XNamed
      23             : {
      24             : public:
      25             : 
      26             :     // Methods
      27             :     virtual css::linguistic2::DictionaryType SAL_CALL getDictionaryType() = 0;
      28             :     virtual void SAL_CALL setActive( ::sal_Bool bActivate ) = 0;
      29             :     virtual ::sal_Bool SAL_CALL isActive() = 0;
      30             :     virtual ::sal_Int32 SAL_CALL getCount() = 0;
      31             :     virtual css::lang::Locale SAL_CALL getLocale() = 0;
      32             :     virtual void SAL_CALL setLocale( const css::lang::Locale& aLocale ) = 0;
      33             :     virtual ::com::sun::star::uno::Reference< css::linguistic2::XDictionaryEntry > SAL_CALL getEntry( const ::rtl::OUString& aWord ) = 0;
      34             :     virtual ::sal_Bool SAL_CALL addEntry( const ::com::sun::star::uno::Reference< css::linguistic2::XDictionaryEntry >& xDicEntry ) = 0;
      35             :     virtual ::sal_Bool SAL_CALL add( const ::rtl::OUString& aWord, ::sal_Bool bIsNegative, const ::rtl::OUString& aRplcText ) = 0;
      36             :     virtual ::sal_Bool SAL_CALL remove( const ::rtl::OUString& aWord ) = 0;
      37             :     virtual ::sal_Bool SAL_CALL isFull() = 0;
      38             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::linguistic2::XDictionaryEntry > > SAL_CALL getEntries() = 0;
      39             :     virtual void SAL_CALL clear() = 0;
      40             :     virtual ::sal_Bool SAL_CALL addDictionaryEventListener( const ::com::sun::star::uno::Reference< css::linguistic2::XDictionaryEventListener >& xListener ) = 0;
      41             :     virtual ::sal_Bool SAL_CALL removeDictionaryEventListener( const ::com::sun::star::uno::Reference< css::linguistic2::XDictionaryEventListener >& xListener ) = 0;
      42             : 
      43             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      44             : 
      45             : protected:
      46           3 :     ~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 css::linguistic2::XDictionary const *);
      51             : } } } }
      52             : 
      53             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::linguistic2::XDictionary > *) SAL_THROW(());
      54             : 
      55             : #endif

Generated by: LCOV version 1.10