LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/oovbaapi/ooo/vba/excel - XWorksheet.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 2 50.0 %
Date: 2012-08-25 Functions: 1 2 50.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_OOO_VBA_EXCEL_XWORKSHEET_HDL
       2                 :            : #define INCLUDED_OOO_VBA_EXCEL_XWORKSHEET_HDL
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : namespace ooo { namespace vba { namespace excel { class XPageSetup; } } }
       7                 :            : #include "com/sun/star/script/BasicErrorException.hdl"
       8                 :            : namespace ooo { namespace vba { namespace excel { class XOutline; } } }
       9                 :            : namespace ooo { namespace vba { namespace excel { class XRange; } } }
      10                 :            : #include "com/sun/star/lang/XUnoTunnel.hdl"
      11                 :            : #include "com/sun/star/uno/RuntimeException.hdl"
      12                 :            : #include "com/sun/star/container/XNamed.hdl"
      13                 :            : #include "com/sun/star/script/XInvocation.hdl"
      14                 :            : namespace ooo { namespace vba { namespace excel { class XWorksheet; } } }
      15                 :            : #include "ooo/vba/XHelperInterface.hdl"
      16                 :            : #include "com/sun/star/uno/Any.h"
      17                 :            : #include "com/sun/star/uno/Reference.h"
      18                 :            : #include "cppu/macros.hxx"
      19                 :            : #include "rtl/ustring.hxx"
      20                 :            : #include "sal/types.h"
      21                 :            : 
      22                 :            : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      23                 :            : 
      24                 :            : namespace ooo { namespace vba { namespace excel {
      25                 :            : 
      26                 :         12 : class SAL_NO_VTABLE XWorksheet : public ::ooo::vba::XHelperInterface, public ::com::sun::star::script::XInvocation, public ::com::sun::star::container::XNamed, public ::com::sun::star::lang::XUnoTunnel
      27                 :            : {
      28                 :            : public:
      29                 :            : 
      30                 :            :     // Attributes
      31                 :            :     virtual ::sal_Int32 SAL_CALL getVisible() throw (::com::sun::star::uno::RuntimeException) = 0;
      32                 :            :     virtual void SAL_CALL setVisible( ::sal_Int32 _visible ) throw (::com::sun::star::uno::RuntimeException) = 0;
      33                 :            :     virtual ::sal_Int32 SAL_CALL getStandardHeight() throw (::com::sun::star::uno::RuntimeException) = 0;
      34                 :            :     virtual ::sal_Int32 SAL_CALL getStandardWidth() throw (::com::sun::star::uno::RuntimeException) = 0;
      35                 :            :     virtual ::sal_Bool SAL_CALL getProtectionMode() throw (::com::sun::star::uno::RuntimeException) = 0;
      36                 :            :     virtual ::sal_Bool SAL_CALL getProtectContents() throw (::com::sun::star::uno::RuntimeException) = 0;
      37                 :            :     virtual ::sal_Bool SAL_CALL getProtectDrawingObjects() throw (::com::sun::star::uno::RuntimeException) = 0;
      38                 :            :     virtual ::sal_Bool SAL_CALL getProtectScenarios() throw (::com::sun::star::uno::RuntimeException) = 0;
      39                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL getUsedRange() throw (::com::sun::star::uno::RuntimeException) = 0;
      40                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL getNext() throw (::com::sun::star::uno::RuntimeException) = 0;
      41                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL getPrevious() throw (::com::sun::star::uno::RuntimeException) = 0;
      42                 :            :     virtual ::rtl::OUString SAL_CALL getCodeName() throw (::com::sun::star::uno::RuntimeException) = 0;
      43                 :            :     virtual ::sal_Int16 SAL_CALL getIndex() throw (::com::sun::star::uno::RuntimeException) = 0;
      44                 :            :     virtual ::sal_Int32 SAL_CALL getEnableSelection() throw (::com::sun::star::uno::RuntimeException) = 0;
      45                 :            :     virtual void SAL_CALL setEnableSelection( ::sal_Int32 _enableselection ) throw (::com::sun::star::uno::RuntimeException) = 0;
      46                 :            :     virtual ::sal_Bool SAL_CALL getAutoFilterMode() throw (::com::sun::star::uno::RuntimeException) = 0;
      47                 :            :     virtual void SAL_CALL setAutoFilterMode( ::sal_Bool _autofiltermode ) throw (::com::sun::star::uno::RuntimeException) = 0;
      48                 :            : 
      49                 :            :     // Methods
      50                 :            :     virtual void SAL_CALL Activate(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      51                 :            :     virtual void SAL_CALL Calculate(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      52                 :            :     virtual void SAL_CALL Select( const ::com::sun::star::uno::Any& Replace ) throw (::com::sun::star::uno::RuntimeException) = 0;
      53                 :            :     virtual void SAL_CALL Move( const ::com::sun::star::uno::Any& Before, const ::com::sun::star::uno::Any& After ) throw (::com::sun::star::uno::RuntimeException) = 0;
      54                 :            :     virtual void SAL_CALL Copy( const ::com::sun::star::uno::Any& Before, const ::com::sun::star::uno::Any& After ) throw (::com::sun::star::uno::RuntimeException) = 0;
      55                 :            :     virtual void SAL_CALL Paste( const ::com::sun::star::uno::Any& Destination, const ::com::sun::star::uno::Any& Link ) throw (::com::sun::star::uno::RuntimeException) = 0;
      56                 :            :     virtual void SAL_CALL Delete(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      57                 :            :     virtual void SAL_CALL Protect( const ::com::sun::star::uno::Any& Password, const ::com::sun::star::uno::Any& DrawingObjects, const ::com::sun::star::uno::Any& Contents, const ::com::sun::star::uno::Any& Scenarios, const ::com::sun::star::uno::Any& UserInterfaceOnly ) throw (::com::sun::star::uno::RuntimeException) = 0;
      58                 :            :     virtual void SAL_CALL Unprotect( const ::com::sun::star::uno::Any& Password ) throw (::com::sun::star::uno::RuntimeException) = 0;
      59                 :            :     virtual void SAL_CALL CheckSpelling( const ::com::sun::star::uno::Any& CustomDictionary, const ::com::sun::star::uno::Any& IgnoreUppercase, const ::com::sun::star::uno::Any& AlwaysSuggest, const ::com::sun::star::uno::Any& SpellingLang ) throw (::com::sun::star::uno::RuntimeException) = 0;
      60                 :            :     virtual void SAL_CALL ShowDataForm(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      61                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Range( const ::com::sun::star::uno::Any& Cell1, const ::com::sun::star::uno::Any& Cell2 ) throw (::com::sun::star::uno::RuntimeException) = 0;
      62                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL ChartObjects( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      63                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL PivotTables( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      64                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Comments( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      65                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XOutline > SAL_CALL Outline(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      66                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XPageSetup > SAL_CALL PageSetup(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      67                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL HPageBreaks( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      68                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL VPageBreaks( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      69                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL OLEObjects( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      70                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Shapes( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      71                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Buttons( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      72                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL CheckBoxes( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      73                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL DropDowns( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      74                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL GroupBoxes( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      75                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Labels( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      76                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL ListBoxes( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      77                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL OptionButtons( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      78                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL ScrollBars( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      79                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Spinners( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      80                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Cells( const ::com::sun::star::uno::Any& RowIndex, const ::com::sun::star::uno::Any& ColumnIndex ) throw (::com::sun::star::uno::RuntimeException) = 0;
      81                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Rows( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      82                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Columns( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      83                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Hyperlinks( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      84                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Names( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      85                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Evaluate( const ::rtl::OUString& Name ) throw (::com::sun::star::uno::RuntimeException) = 0;
      86                 :            :     virtual void SAL_CALL setEnableCalculation( ::sal_Bool EnableCalculation ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      87                 :            :     virtual ::sal_Bool SAL_CALL getEnableCalculation(  ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      88                 :            :     virtual void SAL_CALL PrintOut( const ::com::sun::star::uno::Any& From, const ::com::sun::star::uno::Any& To, const ::com::sun::star::uno::Any& Copies, const ::com::sun::star::uno::Any& Preview, const ::com::sun::star::uno::Any& ActivePrinter, const ::com::sun::star::uno::Any& PrintToFile, const ::com::sun::star::uno::Any& Collate, const ::com::sun::star::uno::Any& PrToFileName, const ::com::sun::star::uno::Any& IgnorePrintAreas ) throw (::com::sun::star::uno::RuntimeException) = 0;
      89                 :            : 
      90                 :            :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      91                 :            : 
      92                 :            : protected:
      93                 :          0 :     ~XWorksheet() throw () {} // avoid warnings about virtual members and non-virtual dtor
      94                 :            : };
      95                 :            : 
      96                 :            : 
      97                 :            : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XWorksheet const *);
      98                 :            : } } }
      99                 :            : 
     100                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > *) SAL_THROW(());
     101                 :            : 
     102                 :            : #endif

Generated by: LCOV version 1.10