LCOV - code coverage report
Current view: top level - awt/grid - XMutableGridDataModel.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_AWT_GRID_XMUTABLEGRIDDATAMODEL_HDL
       2             : #define INCLUDED_COM_SUN_STAR_AWT_GRID_XMUTABLEGRIDDATAMODEL_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : namespace com { namespace sun { namespace star { namespace awt { namespace grid { class XGridDataListener; } } } } }
       7             : #include "com/sun/star/awt/grid/XGridDataModel.hdl"
       8             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
       9             : #include "com/sun/star/lang/IndexOutOfBoundsException.hdl"
      10             : #include "com/sun/star/uno/RuntimeException.hdl"
      11             : #include "com/sun/star/uno/Any.h"
      12             : #include "com/sun/star/uno/Reference.h"
      13             : #include "com/sun/star/uno/Sequence.h"
      14             : #include "cppu/macros.hxx"
      15             : #include "sal/types.h"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      18             : 
      19             : namespace com { namespace sun { namespace star { namespace awt { namespace grid {
      20             : 
      21          20 : class SAL_NO_VTABLE XMutableGridDataModel : public css::awt::grid::XGridDataModel
      22             : {
      23             : public:
      24             : 
      25             :     // Methods
      26             :     virtual void SAL_CALL addRow( const ::com::sun::star::uno::Any& Heading, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Data ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      27             :     virtual void SAL_CALL addRows( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Headings, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > >& Data ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      28             :     virtual void SAL_CALL insertRow( ::sal_Int32 Index, const ::com::sun::star::uno::Any& Heading, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Data ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      29             :     virtual void SAL_CALL insertRows( ::sal_Int32 Index, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Headings, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > >& Data ) /* throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      30             :     virtual void SAL_CALL removeRow( ::sal_Int32 RowIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual void SAL_CALL removeAllRows() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual void SAL_CALL updateCellData( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const ::com::sun::star::uno::Any& Value ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual void SAL_CALL updateRowData( const ::com::sun::star::uno::Sequence< ::sal_Int32 >& ColumnIndexes, ::sal_Int32 RowIndex, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Values ) /* throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual void SAL_CALL updateRowHeading( ::sal_Int32 RowIndex, const ::com::sun::star::uno::Any& Heading ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual void SAL_CALL updateCellToolTip( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const ::com::sun::star::uno::Any& Value ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual void SAL_CALL updateRowToolTip( ::sal_Int32 RowIndex, const ::com::sun::star::uno::Any& Value ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual void SAL_CALL addGridDataListener( const ::com::sun::star::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual void SAL_CALL removeGridDataListener( const ::com::sun::star::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      39             : 
      40             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      41             : 
      42             : protected:
      43          10 :     ~XMutableGridDataModel() throw () {} // avoid warnings about virtual members and non-virtual dtor
      44             : };
      45             : 
      46             : 
      47             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::awt::grid::XMutableGridDataModel const *);
      48             : } } } } }
      49             : 
      50             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::awt::grid::XMutableGridDataModel > *) SAL_THROW(());
      51             : 
      52             : #endif

Generated by: LCOV version 1.10