1 | #ifndef INCLUDED_COM_SUN_STAR_LINGUISTIC2_XPOSSIBLEHYPHENS_HDL |
---|---|
2 | #define INCLUDED_COM_SUN_STAR_LINGUISTIC2_XPOSSIBLEHYPHENS_HDL |
3 | |
4 | #include "sal/config.h" |
5 | |
6 | #include <exception> |
7 | |
8 | #include "com/sun/star/lang/Locale.hdl" |
9 | #include "com/sun/star/uno/RuntimeException.hdl" |
10 | #include "com/sun/star/uno/XInterface.hdl" |
11 | #include "com/sun/star/uno/Reference.h" |
12 | #include "com/sun/star/uno/Sequence.h" |
13 | #include "cppu/macros.hxx" |
14 | #include "rtl/ustring.hxx" |
15 | #include "sal/types.h" |
16 | |
17 | namespace com { namespace sun { namespace star { namespace uno { class Type; } } } } |
18 | |
19 | namespace com { namespace sun { namespace star { namespace linguistic2 { |
20 | |
21 | class SAL_NO_VTABLE XPossibleHyphens : public ::css::uno::XInterface |
22 | { |
23 | public: |
24 | |
25 | // Methods |
26 | virtual ::rtl::OUString SAL_CALL getWord() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0; |
27 | virtual ::css::lang::Locale SAL_CALL getLocale() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0; |
28 | virtual ::rtl::OUString SAL_CALL getPossibleHyphens() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0; |
29 | virtual ::css::uno::Sequence< ::sal_Int16 > SAL_CALL getHyphenationPositions() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0; |
30 | |
31 | static inline ::css::uno::Type const & SAL_CALL static_type(void * = 0); |
32 | |
33 | protected: |
34 | ~XPossibleHyphens() throw () {} // avoid warnings about virtual members and non-virtual dtor |
35 | }; |
36 | |
37 | |
38 | inline ::css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::css::linguistic2::XPossibleHyphens const *); |
39 | } } } } |
40 | |
41 | inline ::css::uno::Type const & SAL_CALL getCppuType(const ::css::uno::Reference< ::css::linguistic2::XPossibleHyphens > *) SAL_THROW(()); |
42 | |
43 | #endif |
44 |