LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/workdir/unxlngi6.pro/UnoApiHeadersTarget/oovbaapi/normal/ooo/vba/excel - XWorkbook.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.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/lang/XUnoTunnel.hdl"
       7             : #include "com/sun/star/script/BasicErrorException.hdl"
       8             : #include "com/sun/star/uno/RuntimeException.hdl"
       9             : namespace ooo { namespace vba { namespace excel { class XWorksheet; } } }
      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          47 : class SAL_NO_VTABLE XWorkbook : public css::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 (css::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 (css::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 ::com::sun::star::uno::Any& FileName, const ::com::sun::star::uno::Any& FileFormat, const ::com::sun::star::uno::Any& Password, const ::com::sun::star::uno::Any& WriteResPassword, const ::com::sun::star::uno::Any& ReadOnlyRecommended, const ::com::sun::star::uno::Any& CreateBackup, const ::com::sun::star::uno::Any& AccessMode, const ::com::sun::star::uno::Any& ConflictResolution, const ::com::sun::star::uno::Any& AddToMru, const ::com::sun::star::uno::Any& TextCodepage, const ::com::sun::star::uno::Any& TextVisualLayout, const ::com::sun::star::uno::Any& Local ) /* 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          22 :     ~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