LCOV - code coverage report
Current view: top level - accessibility - XAccessibleText.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_ACCESSIBILITY_XACCESSIBLETEXT_HDL
       2             : #define INCLUDED_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLETEXT_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/accessibility/TextSegment.hdl"
       7             : #include "com/sun/star/awt/Point.hdl"
       8             : #include "com/sun/star/awt/Rectangle.hdl"
       9             : #include "com/sun/star/beans/PropertyValue.hdl"
      10             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      11             : #include "com/sun/star/lang/IndexOutOfBoundsException.hdl"
      12             : #include "com/sun/star/uno/RuntimeException.hdl"
      13             : #include "com/sun/star/uno/XInterface.hdl"
      14             : #include "com/sun/star/uno/Reference.h"
      15             : #include "com/sun/star/uno/Sequence.h"
      16             : #include "cppu/macros.hxx"
      17             : #include "rtl/ustring.hxx"
      18             : #include "sal/types.h"
      19             : 
      20             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      21             : 
      22             : namespace com { namespace sun { namespace star { namespace accessibility {
      23             : 
      24        2610 : class SAL_NO_VTABLE XAccessibleText : public css::uno::XInterface
      25             : {
      26             : public:
      27             : 
      28             :     // Methods
      29             :     virtual ::sal_Int32 SAL_CALL getCaretPosition() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      30             :     virtual ::sal_Bool SAL_CALL setCaretPosition( ::sal_Int32 nIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual ::sal_Unicode SAL_CALL getCharacter( ::sal_Int32 nIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual ::com::sun::star::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( ::sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aRequestedAttributes ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual css::awt::Rectangle SAL_CALL getCharacterBounds( ::sal_Int32 nIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual ::sal_Int32 SAL_CALL getCharacterCount() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual ::sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual ::rtl::OUString SAL_CALL getSelectedText() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual ::sal_Int32 SAL_CALL getSelectionStart() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual ::sal_Int32 SAL_CALL getSelectionEnd() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::sal_Bool SAL_CALL setSelection( ::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual ::rtl::OUString SAL_CALL getText() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::rtl::OUString SAL_CALL getTextRange( ::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( ::sal_Int32 nIndex, ::sal_Int16 nTextType ) /* throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( ::sal_Int32 nIndex, ::sal_Int16 nTextType ) /* throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( ::sal_Int32 nIndex, ::sal_Int16 nTextType ) /* throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual ::sal_Bool SAL_CALL copyText( ::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      46             : 
      47             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      48             : 
      49             : protected:
      50        2487 :     ~XAccessibleText() throw () {} // avoid warnings about virtual members and non-virtual dtor
      51             : };
      52             : 
      53             : 
      54             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::accessibility::XAccessibleText const *);
      55             : } } } }
      56             : 
      57             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::accessibility::XAccessibleText > *) SAL_THROW(());
      58             : 
      59             : #endif

Generated by: LCOV version 1.10