LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/oovbaapi/ooo/vba/excel - XWorkbook.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          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           0 : class SAL_NO_VTABLE XWorkbook : public css::lang::XUnoTunnel
      21             : {
      22             : public:
      23             : 
      24             :     // Attributes
      25             :     virtual ::sal_Bool SAL_CALL getProtectStructure() = 0;
      26             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL getActiveSheet() = 0;
      27             :     virtual ::rtl::OUString SAL_CALL getCodeName() = 0;
      28             :     virtual ::sal_Int32 SAL_CALL getFileFormat() = 0;
      29             :     virtual ::sal_Bool SAL_CALL getPrecisionAsDisplayed() = 0;
      30             :     virtual void SAL_CALL setPrecisionAsDisplayed( ::sal_Bool _precisionasdisplayed ) = 0;
      31             : 
      32             :     // Methods
      33             :     virtual ::com::sun::star::uno::Any SAL_CALL Worksheets( const ::com::sun::star::uno::Any& Index ) = 0;
      34             :     virtual ::com::sun::star::uno::Any SAL_CALL Styles( const ::com::sun::star::uno::Any& Index ) = 0;
      35             :     virtual ::com::sun::star::uno::Any SAL_CALL Sheets( const ::com::sun::star::uno::Any& Index ) = 0;
      36             :     virtual ::com::sun::star::uno::Any SAL_CALL Windows( const ::com::sun::star::uno::Any& Index ) = 0;
      37             :     virtual void SAL_CALL ResetColors() = 0;
      38             :     virtual void SAL_CALL Activate() = 0;
      39             :     virtual ::com::sun::star::uno::Any SAL_CALL Names( const ::com::sun::star::uno::Any& Index ) = 0;
      40             :     virtual ::com::sun::star::uno::Any SAL_CALL Colors( const ::com::sun::star::uno::Any& Index ) = 0;
      41             :     virtual void SAL_CALL SaveCopyAs( const ::rtl::OUString& Filename ) = 0;
      42             :     virtual void SAL_CALL Protect( const ::com::sun::star::uno::Any& Password ) = 0;
      43             : 
      44             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      45             : 
      46             : protected:
      47           0 :     ~XWorkbook() throw () {} // avoid warnings about virtual members and non-virtual dtor
      48             : };
      49             : 
      50             : 
      51             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XWorkbook const *);
      52             : } } }
      53             : 
      54             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorkbook > *) SAL_THROW(());
      55             : 
      56             : #endif

Generated by: LCOV version 1.10