1#ifndef INCLUDED_COM_SUN_STAR_LINGUISTIC2_XHYPHENATEDWORD_HDL
2#define INCLUDED_COM_SUN_STAR_LINGUISTIC2_XHYPHENATEDWORD_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 "cppu/macros.hxx"
13#include "rtl/ustring.hxx"
14#include "sal/types.h"
15
16namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
17
18namespace com { namespace sun { namespace star { namespace linguistic2 {
19
20class SAL_NO_VTABLE XHyphenatedWord : public ::css::uno::XInterface
21{
22public:
23
24 // Methods
25 virtual ::rtl::OUString SAL_CALL getWord() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0;
26 virtual ::css::lang::Locale SAL_CALL getLocale() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0;
27 virtual ::sal_Int16 SAL_CALL getHyphenationPos() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0;
28 virtual ::rtl::OUString SAL_CALL getHyphenatedWord() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0;
29 virtual ::sal_Int16 SAL_CALL getHyphenPos() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0;
30 virtual ::sal_Bool SAL_CALL isAlternativeSpelling() /* throw (::css::uno::RuntimeException, ::std::exception) */ = 0;
31
32 static inline ::css::uno::Type const & SAL_CALL static_type(void * = 0);
33
34protected:
35 ~XHyphenatedWord() throw () {} // avoid warnings about virtual members and non-virtual dtor
36};
37
38
39inline ::css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::css::linguistic2::XHyphenatedWord const *);
40} } } }
41
42inline ::css::uno::Type const & SAL_CALL getCppuType(const ::css::uno::Reference< ::css::linguistic2::XHyphenatedWord > *) SAL_THROW(());
43
44#endif
45