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/script/BasicErrorException.hdl"
7 : #include "com/sun/star/uno/RuntimeException.hdl"
8 : #include "com/sun/star/uno/XInterface.hdl"
9 : namespace ooo { namespace vba { namespace excel { class XPane; } } }
10 : namespace ooo { namespace vba { namespace excel { class XRange; } } }
11 : namespace ooo { namespace vba { namespace excel { class XWorksheet; } } }
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 59 : 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() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual void SAL_CALL setCaption( const ::com::sun::star::uno::Any& _caption ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual ::sal_Bool SAL_CALL getDisplayGridlines() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual void SAL_CALL setDisplayGridlines( ::sal_Bool _displaygridlines ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::sal_Bool SAL_CALL getDisplayHeadings() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual void SAL_CALL setDisplayHeadings( ::sal_Bool _displayheadings ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::sal_Bool SAL_CALL getDisplayHorizontalScrollBar() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual void SAL_CALL setDisplayHorizontalScrollBar( ::sal_Bool _displayhorizontalscrollbar ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::sal_Bool SAL_CALL getDisplayOutline() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL setDisplayOutline( ::sal_Bool _displayoutline ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::sal_Bool SAL_CALL getDisplayVerticalScrollBar() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual void SAL_CALL setDisplayVerticalScrollBar( ::sal_Bool _displayverticalscrollbar ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::sal_Bool SAL_CALL getDisplayWorkbookTabs() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual void SAL_CALL setDisplayWorkbookTabs( ::sal_Bool _displayworkbooktabs ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::sal_Bool SAL_CALL getFreezePanes() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual void SAL_CALL setFreezePanes( ::sal_Bool _freezepanes ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::sal_Bool SAL_CALL getSplit() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual void SAL_CALL setSplit( ::sal_Bool _split ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual ::sal_Int32 SAL_CALL getSplitColumn() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual void SAL_CALL setSplitColumn( ::sal_Int32 _splitcolumn ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual double SAL_CALL getSplitHorizontal() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual void SAL_CALL setSplitHorizontal( double _splithorizontal ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual ::sal_Int32 SAL_CALL getSplitRow() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual void SAL_CALL setSplitRow( ::sal_Int32 _splitrow ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
50 : virtual double SAL_CALL getSplitVertical() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
51 : virtual void SAL_CALL setSplitVertical( double _splitvertical ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
52 : virtual ::com::sun::star::uno::Any SAL_CALL getScrollColumn() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
53 : virtual void SAL_CALL setScrollColumn( const ::com::sun::star::uno::Any& _scrollcolumn ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
54 : virtual ::com::sun::star::uno::Any SAL_CALL getScrollRow() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
55 : virtual void SAL_CALL setScrollRow( const ::com::sun::star::uno::Any& _scrollrow ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
56 : virtual ::com::sun::star::uno::Any SAL_CALL getView() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
57 : virtual void SAL_CALL setView( const ::com::sun::star::uno::Any& _view ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
58 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL getVisibleRange() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
59 : virtual ::com::sun::star::uno::Any SAL_CALL getWindowState() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
60 : virtual void SAL_CALL setWindowState( const ::com::sun::star::uno::Any& _windowstate ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
61 : virtual ::com::sun::star::uno::Any SAL_CALL getZoom() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
62 : virtual void SAL_CALL setZoom( const ::com::sun::star::uno::Any& _zoom ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
63 : virtual double SAL_CALL getTabRatio() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
64 : virtual void SAL_CALL setTabRatio( double _tabratio ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
65 :
66 : // Methods
67 : virtual ::com::sun::star::uno::Any SAL_CALL SelectedSheets( const ::com::sun::star::uno::Any& Index ) /* throw (::com::sun::star::uno::RuntimeException) */ = 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 ) /* throw (::com::sun::star::uno::RuntimeException) */ = 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 ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
70 : virtual void SAL_CALL ScrollWorkbookTabs( const ::com::sun::star::uno::Any& Sheets, const ::com::sun::star::uno::Any& Position ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
71 : virtual void SAL_CALL Activate() /* throw (::com::sun::star::uno::RuntimeException) */ = 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 ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
73 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL ActiveCell() /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
74 : virtual ::com::sun::star::uno::Any SAL_CALL Selection() /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
75 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL RangeSelection() /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
76 : virtual ::sal_Int32 SAL_CALL PointsToScreenPixelsX( ::sal_Int32 Points ) /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
77 : virtual ::sal_Int32 SAL_CALL PointsToScreenPixelsY( ::sal_Int32 Points ) /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 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 ) /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
79 : virtual void SAL_CALL PrintPreview( const ::com::sun::star::uno::Any& EnableChanges ) /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
80 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL ActiveSheet() /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
81 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XPane > SAL_CALL ActivePane() /* throw (css::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) */ = 0;
82 :
83 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
84 :
85 : protected:
86 58 : ~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
|