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() = 0;
23 : virtual void SAL_CALL setDefaultBorderLineStyle( ::sal_Int32 _defaultborderlinestyle ) = 0;
24 : virtual ::sal_Int32 SAL_CALL getDefaultBorderLineWidth() = 0;
25 : virtual void SAL_CALL setDefaultBorderLineWidth( ::sal_Int32 _defaultborderlinewidth ) = 0;
26 : virtual ::sal_Int32 SAL_CALL getDefaultBorderColorIndex() = 0;
27 : virtual void SAL_CALL setDefaultBorderColorIndex( ::sal_Int32 _defaultbordercolorindex ) = 0;
28 : virtual ::sal_Bool SAL_CALL getReplaceSelection() = 0;
29 : virtual void SAL_CALL setReplaceSelection( ::sal_Bool _replaceselection ) = 0;
30 : virtual ::sal_Bool SAL_CALL getMapPaperSize() = 0;
31 : virtual void SAL_CALL setMapPaperSize( ::sal_Bool _mappapersize ) = 0;
32 : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyHeadings() = 0;
33 : virtual void SAL_CALL setAutoFormatAsYouTypeApplyHeadings( ::sal_Bool _autoformatasyoutypeapplyheadings ) = 0;
34 : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyBulletedLists() = 0;
35 : virtual void SAL_CALL setAutoFormatAsYouTypeApplyBulletedLists( ::sal_Bool _autoformatasyoutypeapplybulletedlists ) = 0;
36 : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeApplyNumberedLists() = 0;
37 : virtual void SAL_CALL setAutoFormatAsYouTypeApplyNumberedLists( ::sal_Bool _autoformatasyoutypeapplynumberedlists ) = 0;
38 : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeFormatListItemBeginning() = 0;
39 : virtual void SAL_CALL setAutoFormatAsYouTypeFormatListItemBeginning( ::sal_Bool _autoformatasyoutypeformatlistitembeginning ) = 0;
40 : virtual ::sal_Bool SAL_CALL getAutoFormatAsYouTypeDefineStyles() = 0;
41 : virtual void SAL_CALL setAutoFormatAsYouTypeDefineStyles( ::sal_Bool _autoformatasyoutypedefinestyles ) = 0;
42 : virtual ::sal_Bool SAL_CALL getAutoFormatApplyHeadings() = 0;
43 : virtual void SAL_CALL setAutoFormatApplyHeadings( ::sal_Bool _autoformatapplyheadings ) = 0;
44 : virtual ::sal_Bool SAL_CALL getAutoFormatApplyLists() = 0;
45 : virtual void SAL_CALL setAutoFormatApplyLists( ::sal_Bool _autoformatapplylists ) = 0;
46 : virtual ::sal_Bool SAL_CALL getAutoFormatApplyBulletedLists() = 0;
47 : virtual void SAL_CALL setAutoFormatApplyBulletedLists( ::sal_Bool _autoformatapplybulletedlists ) = 0;
48 :
49 : // Methods
50 : virtual ::com::sun::star::uno::Any SAL_CALL DefaultFilePath( ::sal_Int32 Path ) = 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
|