LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/oovbaapi/ooo/vba/excel - XWindow.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_XWINDOW_HDL
       2             : #define INCLUDED_OOO_VBA_EXCEL_XWINDOW_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/uno/RuntimeException.hdl"
       7             : namespace ooo { namespace vba { namespace excel { class XWorksheet; } } }
       8             : #include "com/sun/star/script/BasicErrorException.hdl"
       9             : namespace ooo { namespace vba { namespace excel { class XPane; } } }
      10             : #include "com/sun/star/uno/XInterface.hdl"
      11             : namespace ooo { namespace vba { namespace excel { class XRange; } } }
      12             : #include "com/sun/star/uno/Any.h"
      13             : #include "com/sun/star/uno/Reference.h"
      14             : #include "cppu/macros.hxx"
      15             : #include "sal/types.h"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      18             : 
      19             : namespace ooo { namespace vba { namespace excel {
      20             : 
      21           0 : class SAL_NO_VTABLE XWindow : public css::uno::XInterface
      22             : {
      23             : public:
      24             : 
      25             :     // Attributes
      26             :     virtual ::com::sun::star::uno::Any SAL_CALL getCaption() = 0;
      27             :     virtual void SAL_CALL setCaption( const ::com::sun::star::uno::Any& _caption ) = 0;
      28             :     virtual ::sal_Bool SAL_CALL getDisplayGridlines() = 0;
      29             :     virtual void SAL_CALL setDisplayGridlines( ::sal_Bool _displaygridlines ) = 0;
      30             :     virtual ::sal_Bool SAL_CALL getDisplayHeadings() = 0;
      31             :     virtual void SAL_CALL setDisplayHeadings( ::sal_Bool _displayheadings ) = 0;
      32             :     virtual ::sal_Bool SAL_CALL getDisplayHorizontalScrollBar() = 0;
      33             :     virtual void SAL_CALL setDisplayHorizontalScrollBar( ::sal_Bool _displayhorizontalscrollbar ) = 0;
      34             :     virtual ::sal_Bool SAL_CALL getDisplayOutline() = 0;
      35             :     virtual void SAL_CALL setDisplayOutline( ::sal_Bool _displayoutline ) = 0;
      36             :     virtual ::sal_Bool SAL_CALL getDisplayVerticalScrollBar() = 0;
      37             :     virtual void SAL_CALL setDisplayVerticalScrollBar( ::sal_Bool _displayverticalscrollbar ) = 0;
      38             :     virtual ::sal_Bool SAL_CALL getDisplayWorkbookTabs() = 0;
      39             :     virtual void SAL_CALL setDisplayWorkbookTabs( ::sal_Bool _displayworkbooktabs ) = 0;
      40             :     virtual ::sal_Bool SAL_CALL getFreezePanes() = 0;
      41             :     virtual void SAL_CALL setFreezePanes( ::sal_Bool _freezepanes ) = 0;
      42             :     virtual ::sal_Bool SAL_CALL getSplit() = 0;
      43             :     virtual void SAL_CALL setSplit( ::sal_Bool _split ) = 0;
      44             :     virtual ::sal_Int32 SAL_CALL getSplitColumn() = 0;
      45             :     virtual void SAL_CALL setSplitColumn( ::sal_Int32 _splitcolumn ) = 0;
      46             :     virtual double SAL_CALL getSplitHorizontal() = 0;
      47             :     virtual void SAL_CALL setSplitHorizontal( double _splithorizontal ) = 0;
      48             :     virtual ::sal_Int32 SAL_CALL getSplitRow() = 0;
      49             :     virtual void SAL_CALL setSplitRow( ::sal_Int32 _splitrow ) = 0;
      50             :     virtual double SAL_CALL getSplitVertical() = 0;
      51             :     virtual void SAL_CALL setSplitVertical( double _splitvertical ) = 0;
      52             :     virtual ::com::sun::star::uno::Any SAL_CALL getScrollColumn() = 0;
      53             :     virtual void SAL_CALL setScrollColumn( const ::com::sun::star::uno::Any& _scrollcolumn ) = 0;
      54             :     virtual ::com::sun::star::uno::Any SAL_CALL getScrollRow() = 0;
      55             :     virtual void SAL_CALL setScrollRow( const ::com::sun::star::uno::Any& _scrollrow ) = 0;
      56             :     virtual ::com::sun::star::uno::Any SAL_CALL getView() = 0;
      57             :     virtual void SAL_CALL setView( const ::com::sun::star::uno::Any& _view ) = 0;
      58             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL getVisibleRange() = 0;
      59             :     virtual ::com::sun::star::uno::Any SAL_CALL getWindowState() = 0;
      60             :     virtual void SAL_CALL setWindowState( const ::com::sun::star::uno::Any& _windowstate ) = 0;
      61             :     virtual ::com::sun::star::uno::Any SAL_CALL getZoom() = 0;
      62             :     virtual void SAL_CALL setZoom( const ::com::sun::star::uno::Any& _zoom ) = 0;
      63             :     virtual double SAL_CALL getTabRatio() = 0;
      64             :     virtual void SAL_CALL setTabRatio( double _tabratio ) = 0;
      65             : 
      66             :     // Methods
      67             :     virtual ::com::sun::star::uno::Any SAL_CALL SelectedSheets( const ::com::sun::star::uno::Any& Index ) = 0;
      68             :     virtual void SAL_CALL SmallScroll( const ::com::sun::star::uno::Any& Down, const ::com::sun::star::uno::Any& Up, const ::com::sun::star::uno::Any& ToRight, const ::com::sun::star::uno::Any& ToLeft ) = 0;
      69             :     virtual void SAL_CALL LargeScroll( const ::com::sun::star::uno::Any& Down, const ::com::sun::star::uno::Any& Up, const ::com::sun::star::uno::Any& ToRight, const ::com::sun::star::uno::Any& ToLeft ) = 0;
      70             :     virtual void SAL_CALL ScrollWorkbookTabs( const ::com::sun::star::uno::Any& Sheets, const ::com::sun::star::uno::Any& Position ) = 0;
      71             :     virtual void SAL_CALL Activate() = 0;
      72             :     virtual void SAL_CALL Close( const ::com::sun::star::uno::Any& SaveChanges, const ::com::sun::star::uno::Any& FileName, const ::com::sun::star::uno::Any& RouteWorkBook ) = 0;
      73             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL ActiveCell() = 0;
      74             :     virtual ::com::sun::star::uno::Any SAL_CALL Selection() = 0;
      75             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL RangeSelection() = 0;
      76             :     virtual ::sal_Int32 SAL_CALL PointsToScreenPixelsX( ::sal_Int32 Points ) = 0;
      77             :     virtual ::sal_Int32 SAL_CALL PointsToScreenPixelsY( ::sal_Int32 Points ) = 0;
      78             :     virtual void SAL_CALL PrintOut( const ::com::sun::star::uno::Any& From, const ::com::sun::star::uno::Any& To, const ::com::sun::star::uno::Any& Copies, const ::com::sun::star::uno::Any& Preview, const ::com::sun::star::uno::Any& ActivePrinter, const ::com::sun::star::uno::Any& PrintToFile, const ::com::sun::star::uno::Any& Collate, const ::com::sun::star::uno::Any& PrToFileName ) = 0;
      79             :     virtual void SAL_CALL PrintPreview( const ::com::sun::star::uno::Any& EnableChanges ) = 0;
      80             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL ActiveSheet() = 0;
      81             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XPane > SAL_CALL ActivePane() = 0;
      82             : 
      83             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      84             : 
      85             : protected:
      86           0 :     ~XWindow() throw () {} // avoid warnings about virtual members and non-virtual dtor
      87             : };
      88             : 
      89             : 
      90             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XWindow const *);
      91             : } } }
      92             : 
      93             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWindow > *) SAL_THROW(());
      94             : 
      95             : #endif

Generated by: LCOV version 1.10