Line data Source code
1 : #ifndef INCLUDED_OOO_VBA_EXCEL_XPAGESETUP_HDL
2 : #define INCLUDED_OOO_VBA_EXCEL_XPAGESETUP_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : #include "com/sun/star/uno/XInterface.hdl"
8 : #include "com/sun/star/uno/Any.h"
9 : #include "com/sun/star/uno/Reference.h"
10 : #include "cppu/macros.hxx"
11 : #include "rtl/ustring.hxx"
12 : #include "sal/types.h"
13 :
14 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
15 :
16 : namespace ooo { namespace vba { namespace excel {
17 :
18 56 : class SAL_NO_VTABLE XPageSetup : public css::uno::XInterface
19 : {
20 : public:
21 :
22 : // Attributes
23 : virtual ::rtl::OUString SAL_CALL getPrintArea() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
24 : virtual void SAL_CALL setPrintArea( const ::rtl::OUString& _printarea ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
25 : virtual double SAL_CALL getHeaderMargin() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
26 : virtual void SAL_CALL setHeaderMargin( double _headermargin ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual double SAL_CALL getFooterMargin() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual void SAL_CALL setFooterMargin( double _footermargin ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::com::sun::star::uno::Any SAL_CALL getFitToPagesTall() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL setFitToPagesTall( const ::com::sun::star::uno::Any& _fittopagestall ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::com::sun::star::uno::Any SAL_CALL getFitToPagesWide() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL setFitToPagesWide( const ::com::sun::star::uno::Any& _fittopageswide ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Any SAL_CALL getZoom() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL setZoom( const ::com::sun::star::uno::Any& _zoom ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::rtl::OUString SAL_CALL getLeftHeader() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual void SAL_CALL setLeftHeader( const ::rtl::OUString& _leftheader ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::rtl::OUString SAL_CALL getCenterHeader() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual void SAL_CALL setCenterHeader( const ::rtl::OUString& _centerheader ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::rtl::OUString SAL_CALL getRightHeader() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual void SAL_CALL setRightHeader( const ::rtl::OUString& _rightheader ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual ::rtl::OUString SAL_CALL getLeftFooter() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual void SAL_CALL setLeftFooter( const ::rtl::OUString& _leftfooter ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual ::rtl::OUString SAL_CALL getCenterFooter() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual void SAL_CALL setCenterFooter( const ::rtl::OUString& _centerfooter ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual ::rtl::OUString SAL_CALL getRightFooter() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual void SAL_CALL setRightFooter( const ::rtl::OUString& _rightfooter ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual ::sal_Int32 SAL_CALL getOrder() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual void SAL_CALL setOrder( ::sal_Int32 _order ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual ::sal_Int32 SAL_CALL getFirstPageNumber() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
50 : virtual void SAL_CALL setFirstPageNumber( ::sal_Int32 _firstpagenumber ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
51 : virtual ::sal_Bool SAL_CALL getCenterVertically() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
52 : virtual void SAL_CALL setCenterVertically( ::sal_Bool _centervertically ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
53 : virtual ::sal_Bool SAL_CALL getCenterHorizontally() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
54 : virtual void SAL_CALL setCenterHorizontally( ::sal_Bool _centerhorizontally ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
55 : virtual ::sal_Bool SAL_CALL getPrintHeadings() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
56 : virtual void SAL_CALL setPrintHeadings( ::sal_Bool _printheadings ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
57 : virtual ::sal_Bool SAL_CALL getPrintGridlines() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
58 : virtual void SAL_CALL setPrintGridlines( ::sal_Bool _printgridlines ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
59 : virtual ::rtl::OUString SAL_CALL getPrintTitleRows() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
60 : virtual void SAL_CALL setPrintTitleRows( const ::rtl::OUString& _printtitlerows ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
61 : virtual ::rtl::OUString SAL_CALL getPrintTitleColumns() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
62 : virtual void SAL_CALL setPrintTitleColumns( const ::rtl::OUString& _printtitlecolumns ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
63 : virtual ::sal_Int32 SAL_CALL getPaperSize() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
64 : virtual void SAL_CALL setPaperSize( ::sal_Int32 _papersize ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
65 :
66 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
67 :
68 : protected:
69 56 : ~XPageSetup() throw () {} // avoid warnings about virtual members and non-virtual dtor
70 : };
71 :
72 :
73 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XPageSetup const *);
74 : } } }
75 :
76 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XPageSetup > *) SAL_THROW(());
77 :
78 : #endif
|