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