LCOV - code coverage report
Current view: top level - i18n - XBreakIterator.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_I18N_XBREAKITERATOR_HDL
       2             : #define INCLUDED_COM_SUN_STAR_I18N_XBREAKITERATOR_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/i18n/Boundary.hdl"
       7             : #include "com/sun/star/i18n/LineBreakHyphenationOptions.hdl"
       8             : #include "com/sun/star/i18n/LineBreakResults.hdl"
       9             : #include "com/sun/star/i18n/LineBreakUserOptions.hdl"
      10             : #include "com/sun/star/lang/Locale.hdl"
      11             : #include "com/sun/star/uno/RuntimeException.hdl"
      12             : #include "com/sun/star/uno/XInterface.hdl"
      13             : #include "com/sun/star/uno/Reference.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 i18n {
      21             : 
      22       18651 : class SAL_NO_VTABLE XBreakIterator : public css::uno::XInterface
      23             : {
      24             : public:
      25             : 
      26             :     // Methods
      27             :     virtual ::sal_Int32 SAL_CALL nextCharacters( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int16 nCharacterIteratorMode, ::sal_Int32 nCount, ::sal_Int32& nDone ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      28             :     virtual ::sal_Int32 SAL_CALL previousCharacters( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int16 nCharacterIteratorMode, ::sal_Int32 nCount, ::sal_Int32& nDone ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      29             :     virtual css::i18n::Boundary SAL_CALL nextWord( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int16 nWordType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      30             :     virtual css::i18n::Boundary SAL_CALL previousWord( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int16 nWordType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual css::i18n::Boundary SAL_CALL getWordBoundary( const ::rtl::OUString& aText, ::sal_Int32 nPos, const css::lang::Locale& aLocale, ::sal_Int16 nWordType, ::sal_Bool bPreferForward ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     SAL_DEPRECATED_INTERNAL("marked @deprecated in UNOIDL") virtual ::sal_Int16 SAL_CALL getWordType( const ::rtl::OUString& aText, ::sal_Int32 nPos, const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual ::sal_Bool SAL_CALL isBeginWord( const ::rtl::OUString& aText, ::sal_Int32 nPos, const css::lang::Locale& aLocale, ::sal_Int16 nWordType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual ::sal_Bool SAL_CALL isEndWord( const ::rtl::OUString& aText, ::sal_Int32 nPos, const css::lang::Locale& aLocale, ::sal_Int16 nWordType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual ::sal_Int32 SAL_CALL beginOfSentence( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual ::sal_Int32 SAL_CALL endOfSentence( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual css::i18n::LineBreakResults SAL_CALL getLineBreak( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int32 nMinBreakPos, const css::i18n::LineBreakHyphenationOptions& aHyphOptions, const css::i18n::LineBreakUserOptions& aUserOptions ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual ::sal_Int32 SAL_CALL beginOfScript( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, ::sal_Int16 nScriptType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::sal_Int32 SAL_CALL endOfScript( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, ::sal_Int16 nScriptType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual ::sal_Int32 SAL_CALL nextScript( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, ::sal_Int16 nScriptType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::sal_Int32 SAL_CALL previousScript( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, ::sal_Int16 nScriptType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual ::sal_Int16 SAL_CALL getScriptType( const ::rtl::OUString& aText, ::sal_Int32 nPos ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual ::sal_Int32 SAL_CALL beginOfCharBlock( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int16 nCharType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual ::sal_Int32 SAL_CALL endOfCharBlock( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int16 nCharType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual ::sal_Int32 SAL_CALL nextCharBlock( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int16 nCharType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual ::sal_Int32 SAL_CALL previousCharBlock( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, const css::lang::Locale& aLocale, ::sal_Int16 nCharType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      47             : 
      48             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      49             : 
      50             : protected:
      51       18616 :     ~XBreakIterator() throw () {} // avoid warnings about virtual members and non-virtual dtor
      52             : };
      53             : 
      54             : 
      55             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::i18n::XBreakIterator const *);
      56             : } } } }
      57             : 
      58             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::i18n::XBreakIterator > *) SAL_THROW(());
      59             : 
      60             : #endif

Generated by: LCOV version 1.10