LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/oovbaapi/ooo/vba/excel - XWorkbook.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_XWORKBOOK_HDL
       2                 :            : #define INCLUDED_OOO_VBA_EXCEL_XWORKBOOK_HDL
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/script/BasicErrorException.hdl"
       7                 :            : namespace ooo { namespace vba { namespace excel { class XWorksheet; } } }
       8                 :            : #include "com/sun/star/lang/XUnoTunnel.hdl"
       9                 :            : #include "com/sun/star/uno/RuntimeException.hdl"
      10                 :            : #include "com/sun/star/uno/Any.h"
      11                 :            : #include "com/sun/star/uno/Reference.h"
      12                 :            : #include "cppu/macros.hxx"
      13                 :            : #include "rtl/ustring.hxx"
      14                 :            : #include "sal/types.h"
      15                 :            : 
      16                 :            : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      17                 :            : 
      18                 :            : namespace ooo { namespace vba { namespace excel {
      19                 :            : 
      20                 :          4 : class SAL_NO_VTABLE XWorkbook : public ::com::sun::star::lang::XUnoTunnel
      21                 :            : {
      22                 :            : public:
      23                 :            : 
      24                 :            :     // Attributes
      25                 :            :     virtual ::sal_Bool SAL_CALL getProtectStructure() throw (::com::sun::star::uno::RuntimeException) = 0;
      26                 :            :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL getActiveSheet() throw (::com::sun::star::uno::RuntimeException) = 0;
      27                 :            :     virtual ::rtl::OUString SAL_CALL getCodeName() throw (::com::sun::star::uno::RuntimeException) = 0;
      28                 :            :     virtual ::sal_Int32 SAL_CALL getFileFormat() throw (::com::sun::star::uno::RuntimeException) = 0;
      29                 :            :     virtual ::sal_Bool SAL_CALL getPrecisionAsDisplayed() throw (::com::sun::star::uno::RuntimeException) = 0;
      30                 :            :     virtual void SAL_CALL setPrecisionAsDisplayed( ::sal_Bool _precisionasdisplayed ) throw (::com::sun::star::uno::RuntimeException) = 0;
      31                 :            : 
      32                 :            :     // Methods
      33                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Worksheets( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      34                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Styles( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      35                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Sheets( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      36                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Windows( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      37                 :            :     virtual void SAL_CALL ResetColors(  ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      38                 :            :     virtual void SAL_CALL Activate(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      39                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Names( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::uno::RuntimeException) = 0;
      40                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL Colors( const ::com::sun::star::uno::Any& Index ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
      41                 :            :     virtual void SAL_CALL SaveCopyAs( const ::rtl::OUString& Filename ) throw (::com::sun::star::uno::RuntimeException) = 0;
      42                 :            :     virtual void SAL_CALL Protect( const ::com::sun::star::uno::Any& Password ) throw (::com::sun::star::uno::RuntimeException) = 0;
      43                 :            :     virtual void SAL_CALL SaveAs( const ::rtl::OUString& FileName, const ::com::sun::star::uno::Any& FileFormat, const ::com::sun::star::uno::Any& CreateBackup ) throw (::com::sun::star::uno::RuntimeException) = 0;
      44                 :            : 
      45                 :            :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      46                 :            : 
      47                 :            : protected:
      48                 :          0 :     ~XWorkbook() throw () {} // avoid warnings about virtual members and non-virtual dtor
      49                 :            : };
      50                 :            : 
      51                 :            : 
      52                 :            : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XWorkbook const *);
      53                 :            : } } }
      54                 :            : 
      55                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorkbook > *) SAL_THROW(());
      56                 :            : 
      57                 :            : #endif

Generated by: LCOV version 1.10