LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/workdir/unxlngi6.pro/UnoApiHeadersTarget/oovbaapi/normal/ooo/vba/excel - XApplication.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 2 50.0 %
Date: 2013-07-09 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          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/beans/XExactName.hdl"
       7             : #include "com/sun/star/script/BasicErrorException.hdl"
       8             : #include "com/sun/star/script/XInvocation.hdl"
       9             : #include "com/sun/star/uno/RuntimeException.hdl"
      10             : namespace ooo { namespace vba { class XAssistant; } }
      11             : namespace ooo { namespace vba { namespace excel { class XRange; } } }
      12             : namespace ooo { namespace vba { namespace excel { class XWindow; } } }
      13             : namespace ooo { namespace vba { namespace excel { class XWorkbook; } } }
      14             : namespace ooo { namespace vba { namespace excel { class XWorksheet; } } }
      15             : #include "com/sun/star/uno/Any.h"
      16             : #include "com/sun/star/uno/Reference.h"
      17             : #include "cppu/macros.hxx"
      18             : #include "rtl/ustring.hxx"
      19             : #include "sal/types.h"
      20             : 
      21             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      22             : 
      23             : namespace ooo { namespace vba { namespace excel {
      24             : 
      25          26 : class SAL_NO_VTABLE XApplication : public css::beans::XExactName, public css::script::XInvocation
      26             : {
      27             : public:
      28             : 
      29             :     // Attributes
      30             :     virtual ::com::sun::star::uno::Any SAL_CALL getSelection() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorkbook > SAL_CALL getActiveWorkbook() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL getActiveCell() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWindow > SAL_CALL getActiveWindow() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL getActiveSheet() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::XAssistant > SAL_CALL getAssistant() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual ::sal_Int32 SAL_CALL getCalculation() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual void SAL_CALL setCalculation( ::sal_Int32 _calculation ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorkbook > SAL_CALL getThisWorkbook() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::rtl::OUString SAL_CALL getName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual ::sal_Bool SAL_CALL getDisplayAlerts() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual void SAL_CALL setDisplayAlerts( ::sal_Bool _displayalerts ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual ::sal_Bool SAL_CALL getDisplayFormulaBar() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual void SAL_CALL setDisplayFormulaBar( ::sal_Bool _displayformulabar ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual ::com::sun::star::uno::Any SAL_CALL getCutCopyMode() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual void SAL_CALL setCutCopyMode( const ::com::sun::star::uno::Any& _cutcopymode ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual ::com::sun::star::uno::Any SAL_CALL getStatusBar() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual void SAL_CALL setStatusBar( const ::com::sun::star::uno::Any& _statusbar ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual ::sal_Int32 SAL_CALL getCursor() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      49             :     virtual void SAL_CALL setCursor( ::sal_Int32 _cursor ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      50             :     virtual ::sal_Bool SAL_CALL getEnableEvents() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      51             :     virtual void SAL_CALL setEnableEvents( ::sal_Bool _enableevents ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      52             :     virtual ::sal_Bool SAL_CALL getEnableCancelKey() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      53             :     virtual void SAL_CALL setEnableCancelKey( ::sal_Bool _enablecancelkey ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      54             :     virtual ::sal_Bool SAL_CALL getDisplayFullScreen() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      55             :     virtual void SAL_CALL setDisplayFullScreen( ::sal_Bool _displayfullscreen ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      56             :     virtual ::sal_Bool SAL_CALL getDisplayScrollBars() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      57             :     virtual void SAL_CALL setDisplayScrollBars( ::sal_Bool _displayscrollbars ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      58             :     virtual ::sal_Bool SAL_CALL getDisplayExcel4Menus() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      59             :     virtual void SAL_CALL setDisplayExcel4Menus( ::sal_Bool _displayexcel4menus ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      60             :     virtual ::sal_Bool SAL_CALL getDisplayNoteIndicator() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      61             :     virtual void SAL_CALL setDisplayNoteIndicator( ::sal_Bool _displaynoteindicator ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      62             :     virtual ::sal_Bool SAL_CALL getShowWindowsInTaskbar() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      63             :     virtual void SAL_CALL setShowWindowsInTaskbar( ::sal_Bool _showwindowsintaskbar ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      64             :     virtual ::sal_Bool SAL_CALL getIteration() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      65             :     virtual void SAL_CALL setIteration( ::sal_Bool _iteration ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      66             :     virtual ::rtl::OUString SAL_CALL getLibraryPath() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      67             :     virtual ::rtl::OUString SAL_CALL getTemplatesPath() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      68             :     virtual ::rtl::OUString SAL_CALL getPathSeparator() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      69             : 
      70             :     // Methods
      71             :     virtual void SAL_CALL setDefaultFilePath( const ::rtl::OUString& DefaultFilePath ) /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
      72             :     virtual ::rtl::OUString SAL_CALL getDefaultFilePath() /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
      73             :     virtual ::com::sun::star::uno::Any SAL_CALL International( ::sal_Int32 Index ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      74             :     virtual ::com::sun::star::uno::Any SAL_CALL Workbooks( const ::com::sun::star::uno::Any& Index ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      75             :     virtual ::com::sun::star::uno::Any SAL_CALL Worksheets( const ::com::sun::star::uno::Any& Index ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      76             :     virtual ::com::sun::star::uno::Any SAL_CALL Windows( const ::com::sun::star::uno::Any& Index ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      77             :     virtual ::com::sun::star::uno::Any SAL_CALL WorksheetFunction() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      78             :     virtual ::com::sun::star::uno::Any SAL_CALL Evaluate( const ::rtl::OUString& Name ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      79             :     virtual ::com::sun::star::uno::Any SAL_CALL Dialogs( const ::com::sun::star::uno::Any& DialogIndex ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      80             :     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;
      81             :     virtual ::com::sun::star::uno::Any SAL_CALL Names( const ::com::sun::star::uno::Any& Index ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      82             :     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;
      83             :     virtual void SAL_CALL wait( double time ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      84             :     virtual void SAL_CALL Calculate() /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
      85             :     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 (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
      86             :     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 (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
      87             :     virtual double SAL_CALL InchesToPoints( double Inches ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      88             :     virtual void SAL_CALL Volatile( const ::com::sun::star::uno::Any& Volatile ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      89             :     virtual ::com::sun::star::uno::Any SAL_CALL Caller( const ::com::sun::star::uno::Any& Index ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      90             :     virtual ::com::sun::star::uno::Any SAL_CALL MenuBars( const ::com::sun::star::uno::Any& aIndex ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      91             :     virtual void SAL_CALL Undo() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      92             : 
      93             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      94             : 
      95             : protected:
      96           0 :     ~XApplication() throw () {} // avoid warnings about virtual members and non-virtual dtor
      97             : };
      98             : 
      99             : 
     100             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XApplication const *);
     101             : } } }
     102             : 
     103             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XApplication > *) SAL_THROW(());
     104             : 
     105             : #endif

Generated by: LCOV version 1.10