LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/oovbaapi/ooo/vba/excel - XApplication.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-08-25 Functions: 2 2 100.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_XAPPLICATION_HDL
       2                 :            : #define INCLUDED_OOO_VBA_EXCEL_XAPPLICATION_HDL
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/script/BasicErrorException.hdl"
       7                 :            : namespace ooo { namespace vba { class XAssistant; } }
       8                 :            : namespace ooo { namespace vba { namespace excel { class XWindow; } } }
       9                 :            : namespace ooo { namespace vba { namespace excel { class XRange; } } }
      10                 :            : namespace ooo { namespace vba { namespace excel { class XWorkbook; } } }
      11                 :            : namespace ooo { namespace vba { class XFileDialog; } }
      12                 :            : namespace ooo { namespace vba { namespace excel { class XWorksheet; } } }
      13                 :            : #include "com/sun/star/beans/XExactName.hdl"
      14                 :            : #include "com/sun/star/script/XInvocation.hdl"
      15                 :            : #include "com/sun/star/uno/RuntimeException.hdl"
      16                 :            : namespace ooo { namespace vba { class XFileSearch; } }
      17                 :            : #include "com/sun/star/uno/Any.h"
      18                 :            : #include "com/sun/star/uno/Reference.h"
      19                 :            : #include "cppu/macros.hxx"
      20                 :            : #include "rtl/ustring.hxx"
      21                 :            : #include "sal/types.h"
      22                 :            : 
      23                 :            : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      24                 :            : 
      25                 :            : namespace ooo { namespace vba { namespace excel {
      26                 :            : 
      27                 :          5 : class SAL_NO_VTABLE XApplication : public ::com::sun::star::beans::XExactName, public ::com::sun::star::script::XInvocation
      28                 :            : {
      29                 :            : public:
      30                 :            : 
      31                 :            :     // Attributes
      32                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL getSelection() throw (::com::sun::star::uno::RuntimeException) = 0;
      33                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorkbook > SAL_CALL getActiveWorkbook() throw (::com::sun::star::uno::RuntimeException) = 0;
      34                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL getActiveCell() throw (::com::sun::star::uno::RuntimeException) = 0;
      35                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWindow > SAL_CALL getActiveWindow() throw (::com::sun::star::uno::RuntimeException) = 0;
      36                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL getActiveSheet() throw (::com::sun::star::uno::RuntimeException) = 0;
      37                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::XAssistant > SAL_CALL getAssistant() throw (::com::sun::star::uno::RuntimeException) = 0;
      38                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::XFileSearch > SAL_CALL getFileSearch() throw (::com::sun::star::uno::RuntimeException) = 0;
      39                 :            :     virtual ::sal_Int32 SAL_CALL getCalculation() throw (::com::sun::star::uno::RuntimeException) = 0;
      40                 :            :     virtual void SAL_CALL setCalculation( ::sal_Int32 _calculation ) throw (::com::sun::star::uno::RuntimeException) = 0;
      41                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorkbook > SAL_CALL getThisWorkbook() throw (::com::sun::star::uno::RuntimeException) = 0;
      42                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::XFileDialog > SAL_CALL getFileDialog() throw (::com::sun::star::uno::RuntimeException) = 0;
      43                 :            :     virtual ::rtl::OUString SAL_CALL getName() throw (::com::sun::star::uno::RuntimeException) = 0;
      44                 :            :     virtual ::sal_Bool SAL_CALL getDisplayAlerts() throw (::com::sun::star::uno::RuntimeException) = 0;
      45                 :            :     virtual void SAL_CALL setDisplayAlerts( ::sal_Bool _displayalerts ) throw (::com::sun::star::uno::RuntimeException) = 0;
      46                 :            :     virtual ::sal_Bool SAL_CALL getDisplayFormulaBar() throw (::com::sun::star::uno::RuntimeException) = 0;
      47                 :            :     virtual void SAL_CALL setDisplayFormulaBar( ::sal_Bool _displayformulabar ) throw (::com::sun::star::uno::RuntimeException) = 0;
      48                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL getCutCopyMode() throw (::com::sun::star::uno::RuntimeException) = 0;
      49                 :            :     virtual void SAL_CALL setCutCopyMode( const ::com::sun::star::uno::Any& _cutcopymode ) throw (::com::sun::star::uno::RuntimeException) = 0;
      50                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL getStatusBar() throw (::com::sun::star::uno::RuntimeException) = 0;
      51                 :            :     virtual void SAL_CALL setStatusBar( const ::com::sun::star::uno::Any& _statusbar ) throw (::com::sun::star::uno::RuntimeException) = 0;
      52                 :            :     virtual ::sal_Int32 SAL_CALL getCursor() throw (::com::sun::star::uno::RuntimeException) = 0;
      53                 :            :     virtual void SAL_CALL setCursor( ::sal_Int32 _cursor ) throw (::com::sun::star::uno::RuntimeException) = 0;
      54                 :            :     virtual ::sal_Bool SAL_CALL getEnableEvents() throw (::com::sun::star::uno::RuntimeException) = 0;
      55                 :            :     virtual void SAL_CALL setEnableEvents( ::sal_Bool _enableevents ) throw (::com::sun::star::uno::RuntimeException) = 0;
      56                 :            :     virtual ::sal_Bool SAL_CALL getVisible() throw (::com::sun::star::uno::RuntimeException) = 0;
      57                 :            :     virtual void SAL_CALL setVisible( ::sal_Bool _visible ) throw (::com::sun::star::uno::RuntimeException) = 0;
      58                 :            :     virtual ::sal_Bool SAL_CALL getIteration() throw (::com::sun::star::uno::RuntimeException) = 0;
      59                 :            :     virtual void SAL_CALL setIteration( ::sal_Bool _iteration ) throw (::com::sun::star::uno::RuntimeException) = 0;
      60                 :            :     virtual ::sal_Int32 SAL_CALL getEnableCancelKey() throw (::com::sun::star::uno::RuntimeException) = 0;
      61                 :            :     virtual void SAL_CALL setEnableCancelKey( ::sal_Int32 _enablecancelkey ) throw (::com::sun::star::uno::RuntimeException) = 0;
      62                 :            :     virtual ::sal_Bool SAL_CALL getDisplayFullScreen() throw (::com::sun::star::uno::RuntimeException) = 0;
      63                 :            :     virtual void SAL_CALL setDisplayFullScreen( ::sal_Bool _displayfullscreen ) throw (::com::sun::star::uno::RuntimeException) = 0;
      64                 :            :     virtual ::sal_Bool SAL_CALL getDisplayScrollBars() throw (::com::sun::star::uno::RuntimeException) = 0;
      65                 :            :     virtual void SAL_CALL setDisplayScrollBars( ::sal_Bool _displayscrollbars ) throw (::com::sun::star::uno::RuntimeException) = 0;
      66                 :            :     virtual ::sal_Bool SAL_CALL getDisplayExcel4Menus() throw (::com::sun::star::uno::RuntimeException) = 0;
      67                 :            :     virtual void SAL_CALL setDisplayExcel4Menus( ::sal_Bool _displayexcel4menus ) throw (::com::sun::star::uno::RuntimeException) = 0;
      68                 :            :     virtual ::sal_Bool SAL_CALL getDisplayNoteIndicator() throw (::com::sun::star::uno::RuntimeException) = 0;
      69                 :            :     virtual void SAL_CALL setDisplayNoteIndicator( ::sal_Bool _displaynoteindicator ) throw (::com::sun::star::uno::RuntimeException) = 0;
      70                 :            :     virtual ::sal_Bool SAL_CALL getShowWindowsInTaskbar() throw (::com::sun::star::uno::RuntimeException) = 0;
      71                 :            :     virtual void SAL_CALL setShowWindowsInTaskbar( ::sal_Bool _showwindowsintaskbar ) throw (::com::sun::star::uno::RuntimeException) = 0;
      72                 :            : 
      73                 :            :     // Methods
      74                 :            :     virtual void SAL_CALL setDefaultFilePath( const ::rtl::OUString& DefaultFilePath ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      75                 :            :     virtual ::rtl::OUString SAL_CALL getDefaultFilePath(  ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      76                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL GetOpenFilename( const ::com::sun::star::uno::Any& FileFilter, const ::com::sun::star::uno::Any& FilterIndex, const ::com::sun::star::uno::Any& Title, const ::com::sun::star::uno::Any& ButtonText, const ::com::sun::star::uno::Any& MultiSelect ) throw (::com::sun::star::uno::RuntimeException) = 0;
      77                 :            :     virtual ::rtl::OUString SAL_CALL LibraryPath(  ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      78                 :            :     virtual ::rtl::OUString SAL_CALL TemplatesPath(  ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      79                 :            :     virtual ::rtl::OUString SAL_CALL PathSeparator(  ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      80                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Workbooks( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      81                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Worksheets( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      82                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Windows( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      83                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL WorksheetFunction(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      84                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Evaluate( const ::rtl::OUString& Name ) throw (::com::sun::star::uno::RuntimeException) = 0;
      85                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Dialogs( const ::com::sun::star::uno::Any& DialogIndex ) throw (::com::sun::star::uno::RuntimeException) = 0;
      86                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Range( const ::com::sun::star::uno::Any& Cell1, const ::com::sun::star::uno::Any& Cell2 ) throw (::com::sun::star::uno::RuntimeException) = 0;
      87                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Names( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      88                 :            :     virtual void SAL_CALL GoTo( const ::com::sun::star::uno::Any& Reference, const ::com::sun::star::uno::Any& Scroll ) throw (::com::sun::star::uno::RuntimeException) = 0;
      89                 :            :     virtual void SAL_CALL wait( double time ) throw (::com::sun::star::uno::RuntimeException) = 0;
      90                 :            :     virtual void SAL_CALL Calculate(  ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      91                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Intersect( const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange >& Arg1, const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange >& Arg2, const ::com::sun::star::uno::Any& Arg3, const ::com::sun::star::uno::Any& Arg4, const ::com::sun::star::uno::Any& Arg5, const ::com::sun::star::uno::Any& Arg6, const ::com::sun::star::uno::Any& Arg7, const ::com::sun::star::uno::Any& Arg8, const ::com::sun::star::uno::Any& Arg9, const ::com::sun::star::uno::Any& Arg10, const ::com::sun::star::uno::Any& Arg11, const ::com::sun::star::uno::Any& Arg12, const ::com::sun::star::uno::Any& Arg13, const ::com::sun::star::uno::Any& Arg14, const ::com::sun::star::uno::Any& Arg15, const ::com::sun::star::uno::Any& Arg16, const ::com::sun::star::uno::Any& Arg17, const ::com::sun::star::uno::Any& Arg18, const ::com::sun::star::uno::Any& Arg19, const ::com::sun::star::uno::Any& Arg20, const ::com::sun::star::uno::Any& Arg21, const ::com::sun::star::uno::Any& Arg22, const ::com::sun::star::uno::Any& Arg23, const ::com::sun::star::uno::Any& Arg24, const ::com::sun::star::uno::Any& Arg25, const ::com::sun::star::uno::Any& Arg26, const ::com::sun::star::uno::Any& Arg27, const ::com::sun::star::uno::Any& Arg28, const ::com::sun::star::uno::Any& Arg29, const ::com::sun::star::uno::Any& Arg30 ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      92                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Union( const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange >& Arg1, const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange >& Arg2, const ::com::sun::star::uno::Any& Arg3, const ::com::sun::star::uno::Any& Arg4, const ::com::sun::star::uno::Any& Arg5, const ::com::sun::star::uno::Any& Arg6, const ::com::sun::star::uno::Any& Arg7, const ::com::sun::star::uno::Any& Arg8, const ::com::sun::star::uno::Any& Arg9, const ::com::sun::star::uno::Any& Arg10, const ::com::sun::star::uno::Any& Arg11, const ::com::sun::star::uno::Any& Arg12, const ::com::sun::star::uno::Any& Arg13, const ::com::sun::star::uno::Any& Arg14, const ::com::sun::star::uno::Any& Arg15, const ::com::sun::star::uno::Any& Arg16, const ::com::sun::star::uno::Any& Arg17, const ::com::sun::star::uno::Any& Arg18, const ::com::sun::star::uno::Any& Arg19, const ::com::sun::star::uno::Any& Arg20, const ::com::sun::star::uno::Any& Arg21, const ::com::sun::star::uno::Any& Arg22, const ::com::sun::star::uno::Any& Arg23, const ::com::sun::star::uno::Any& Arg24, const ::com::sun::star::uno::Any& Arg25, const ::com::sun::star::uno::Any& Arg26, const ::com::sun::star::uno::Any& Arg27, const ::com::sun::star::uno::Any& Arg28, const ::com::sun::star::uno::Any& Arg29, const ::com::sun::star::uno::Any& Arg30 ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      93                 :            :     virtual void SAL_CALL Volatile( const ::com::sun::star::uno::Any& Volatile ) throw (::com::sun::star::uno::RuntimeException) = 0;
      94                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Caller( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      95                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL MenuBars( const ::com::sun::star::uno::Any& aIndex ) throw (::com::sun::star::uno::RuntimeException) = 0;
      96                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL International( ::sal_Int32 Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      97                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL GetSaveAsFilename( const ::com::sun::star::uno::Any& InitialFilename, const ::com::sun::star::uno::Any& FileFilter, const ::com::sun::star::uno::Any& FilterIndex, const ::com::sun::star::uno::Any& Title, const ::com::sun::star::uno::Any& ButtonText ) throw (::com::sun::star::uno::RuntimeException) = 0;
      98                 :            :     virtual void SAL_CALL Undo(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      99                 :            :     virtual double SAL_CALL InchesToPoints( double Inches ) throw (::com::sun::star::uno::RuntimeException) = 0;
     100                 :            :     virtual void SAL_CALL setSheetsInNewWorkbook( ::sal_Int32 SheetsInNewWorkbook ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
     101                 :            :     virtual ::sal_Int32 SAL_CALL getSheetsInNewWorkbook(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
     102                 :            : 
     103                 :            :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
     104                 :            : 
     105                 :            : protected:
     106                 :          5 :     ~XApplication() throw () {} // avoid warnings about virtual members and non-virtual dtor
     107                 :            : };
     108                 :            : 
     109                 :            : 
     110                 :            : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XApplication const *);
     111                 :            : } } }
     112                 :            : 
     113                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XApplication > *) SAL_THROW(());
     114                 :            : 
     115                 :            : #endif

Generated by: LCOV version 1.10