Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_WORD_XOPTIONS_HDL
2 : : #define INCLUDED_OOO_VBA_WORD_XOPTIONS_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : #include "ooo/vba/XHelperInterface.hdl"
8 : : #include "com/sun/star/uno/Any.h"
9 : : #include "com/sun/star/uno/Reference.h"
10 : : #include "cppu/macros.hxx"
11 : : #include "sal/types.h"
12 : :
13 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
14 : :
15 : : namespace ooo { namespace vba { namespace word {
16 : :
17 : 0 : class SAL_NO_VTABLE XOptions : public ::ooo::vba::XHelperInterface
18 : : {
19 : : public:
20 : :
21 : : // Attributes
22 : : virtual ::sal_Int32 SAL_CALL getDefaultBorderLineStyle() throw (::com::sun::star::uno::RuntimeException) = 0;
23 : : virtual void SAL_CALL setDefaultBorderLineStyle( ::sal_Int32 _defaultborderlinestyle ) throw (::com::sun::star::uno::RuntimeException) = 0;
24 : : virtual ::sal_Int32 SAL_CALL getDefaultBorderLineWidth() throw (::com::sun::star::uno::RuntimeException) = 0;
25 : : virtual void SAL_CALL setDefaultBorderLineWidth( ::sal_Int32 _defaultborderlinewidth ) throw (::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::sal_Int32 SAL_CALL getDefaultBorderColorIndex() throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setDefaultBorderColorIndex( ::sal_Int32 _defaultbordercolorindex ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::sal_Bool SAL_CALL getReplaceSelection() throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setReplaceSelection( ::sal_Bool _replaceselection ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::sal_Bool SAL_CALL getMapPaperSize() throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setMapPaperSize( ::sal_Bool _mappapersize ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyHeadings() throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setAutoFormatAsYouTypeApplyHeadings( ::sal_Bool _autoformatasyoutypeapplyheadings ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyBulletedLists() throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setAutoFormatAsYouTypeApplyBulletedLists( ::sal_Bool _autoformatasyoutypeapplybulletedlists ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyNumberedLists() throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual void SAL_CALL setAutoFormatAsYouTypeApplyNumberedLists( ::sal_Bool _autoformatasyoutypeapplynumberedlists ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeFormatListItemBeginning() throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual void SAL_CALL setAutoFormatAsYouTypeFormatListItemBeginning( ::sal_Bool _autoformatasyoutypeformatlistitembeginning ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeDefineStyles() throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL setAutoFormatAsYouTypeDefineStyles( ::sal_Bool _autoformatasyoutypedefinestyles ) throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::sal_Bool SAL_CALL getAutoFormatApplyHeadings() throw (::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual void SAL_CALL setAutoFormatApplyHeadings( ::sal_Bool _autoformatapplyheadings ) throw (::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::sal_Bool SAL_CALL getAutoFormatApplyLists() throw (::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual void SAL_CALL setAutoFormatApplyLists( ::sal_Bool _autoformatapplylists ) throw (::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual ::sal_Bool SAL_CALL getAutoFormatApplyBulletedLists() throw (::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual void SAL_CALL setAutoFormatApplyBulletedLists( ::sal_Bool _autoformatapplybulletedlists ) throw (::com::sun::star::uno::RuntimeException) = 0;
48 : :
49 : : // Methods
50 : : virtual ::com::sun::star::uno::Any SAL_CALL DefaultFilePath( ::sal_Int32 Path ) throw (::com::sun::star::uno::RuntimeException) = 0;
51 : :
52 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
53 : :
54 : : protected:
55 : 0 : ~XOptions() throw () {} // avoid warnings about virtual members and non-virtual dtor
56 : : };
57 : :
58 : :
59 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::word::XOptions const *);
60 : : } } }
61 : :
62 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::word::XOptions > *) SAL_THROW(());
63 : :
64 : : #endif
|