Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_LINGUISTIC2_XLINGUPROPERTIES_HDL
2 : #define INCLUDED_COM_SUN_STAR_LINGUISTIC2_XLINGUPROPERTIES_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/XPropertySet.hdl"
7 : #include "com/sun/star/lang/Locale.hdl"
8 : #include "com/sun/star/uno/RuntimeException.hdl"
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 com { namespace sun { namespace star { namespace linguistic2 {
16 :
17 27 : class SAL_NO_VTABLE XLinguProperties : public css::beans::XPropertySet
18 : {
19 : public:
20 :
21 : // Attributes
22 : virtual ::sal_Bool SAL_CALL getIsUseDictionaryList() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
23 : virtual void SAL_CALL setIsUseDictionaryList( ::sal_Bool _isusedictionarylist ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
24 : virtual ::sal_Bool SAL_CALL getIsIgnoreControlCharacters() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
25 : virtual void SAL_CALL setIsIgnoreControlCharacters( ::sal_Bool _isignorecontrolcharacters ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
26 : virtual ::sal_Bool SAL_CALL getIsSpellUpperCase() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual void SAL_CALL setIsSpellUpperCase( ::sal_Bool _isspelluppercase ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual ::sal_Bool SAL_CALL getIsSpellWithDigits() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual void SAL_CALL setIsSpellWithDigits( ::sal_Bool _isspellwithdigits ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::sal_Bool SAL_CALL getIsSpellCapitalization() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual void SAL_CALL setIsSpellCapitalization( ::sal_Bool _isspellcapitalization ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::sal_Int16 SAL_CALL getHyphMinLeading() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual void SAL_CALL setHyphMinLeading( ::sal_Int16 _hyphminleading ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::sal_Int16 SAL_CALL getHyphMinTrailing() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL setHyphMinTrailing( ::sal_Int16 _hyphmintrailing ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::sal_Int16 SAL_CALL getHyphMinWordLength() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual void SAL_CALL setHyphMinWordLength( ::sal_Int16 _hyphminwordlength ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual css::lang::Locale SAL_CALL getDefaultLocale() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual void SAL_CALL setDefaultLocale( const css::lang::Locale& _defaultlocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::sal_Bool SAL_CALL getIsHyphAuto() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual void SAL_CALL setIsHyphAuto( ::sal_Bool _ishyphauto ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::sal_Bool SAL_CALL getIsHyphSpecial() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual void SAL_CALL setIsHyphSpecial( ::sal_Bool _ishyphspecial ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual ::sal_Bool SAL_CALL getIsSpellAuto() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual void SAL_CALL setIsSpellAuto( ::sal_Bool _isspellauto ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual ::sal_Bool SAL_CALL getIsSpellSpecial() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual void SAL_CALL setIsSpellSpecial( ::sal_Bool _isspellspecial ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual ::sal_Bool SAL_CALL getIsWrapReverse() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual void SAL_CALL setIsWrapReverse( ::sal_Bool _iswrapreverse ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
50 : virtual css::lang::Locale SAL_CALL getDefaultLocale_CJK() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
51 : virtual void SAL_CALL setDefaultLocale_CJK( const css::lang::Locale& _defaultlocale_cjk ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
52 : virtual css::lang::Locale SAL_CALL getDefaultLocale_CTL() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
53 : virtual void SAL_CALL setDefaultLocale_CTL( const css::lang::Locale& _defaultlocale_ctl ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
54 :
55 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
56 :
57 : protected:
58 27 : ~XLinguProperties() throw () {} // avoid warnings about virtual members and non-virtual dtor
59 : };
60 :
61 :
62 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::linguistic2::XLinguProperties const *);
63 : } } } }
64 :
65 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::linguistic2::XLinguProperties > *) SAL_THROW(());
66 :
67 : #endif
|