Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_AWT_XPOPUPMENUEXTENDED_HDL
2 : : #define INCLUDED_COM_SUN_STAR_AWT_XPOPUPMENUEXTENDED_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : namespace com { namespace sun { namespace star { namespace graphic { class XGraphic; } } } }
7 : : #include "com/sun/star/container/NoSuchElementException.hdl"
8 : : #include "com/sun/star/awt/KeyEvent.hdl"
9 : : #include "com/sun/star/awt/MenuLogo.hdl"
10 : : #include "com/sun/star/uno/RuntimeException.hdl"
11 : : #include "com/sun/star/awt/XMenuExtended2.hdl"
12 : : #include "com/sun/star/awt/XPopupMenu.hdl"
13 : : #include "com/sun/star/uno/Reference.h"
14 : : #include "cppu/macros.hxx"
15 : : #include "rtl/ustring.hxx"
16 : : #include "sal/types.h"
17 : :
18 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
19 : :
20 : : namespace com { namespace sun { namespace star { namespace awt {
21 : :
22 : 12497 : class SAL_NO_VTABLE XPopupMenuExtended : public ::com::sun::star::awt::XPopupMenu, public ::com::sun::star::awt::XMenuExtended2
23 : : {
24 : : public:
25 : :
26 : : // Methods
27 : : virtual ::sal_Bool SAL_CALL isInExecute( ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual void SAL_CALL endExecute( ) throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setLogo( const ::com::sun::star::awt::MenuLogo& aMenuLogo ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::com::sun::star::awt::MenuLogo SAL_CALL getLogo( ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL enableAutoMnemonics( ::sal_Bool bEnable ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL setAcceleratorKeyEvent( ::sal_Int16 nItemId, const ::com::sun::star::awt::KeyEvent& aKeyEvent ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::awt::KeyEvent SAL_CALL getAcceleratorKeyEvent( ::sal_Int16 nItemId ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL setHelpText( ::sal_Int16 nItemId, const ::rtl::OUString& sHelpText ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::rtl::OUString SAL_CALL getHelpText( ::sal_Int16 nItemId ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL setTipHelpText( ::sal_Int16 nItemId, const ::rtl::OUString& sTipHelpText ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::rtl::OUString SAL_CALL getTipHelpText( ::sal_Int16 nItemId ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual void SAL_CALL setItemImage( ::sal_Int16 nItemId, const ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic >& xGraphic, ::sal_Bool bScale ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > SAL_CALL getItemImage( ::sal_Int16 nItemId ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual void SAL_CALL setItemImageAngle( ::sal_Int16 nItemId, ::sal_Int32 nAngle ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::sal_Int32 SAL_CALL getItemImageAngle( ::sal_Int16 nItemId ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual void SAL_CALL setItemImageMirrorMode( ::sal_Int16 nItemId, ::sal_Bool bMirror ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::sal_Bool SAL_CALL isItemImageInMirrorMode( ::sal_Int16 nItemId ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
44 : :
45 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
46 : :
47 : : protected:
48 : 12406 : ~XPopupMenuExtended() throw () {} // avoid warnings about virtual members and non-virtual dtor
49 : : };
50 : :
51 : :
52 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::awt::XPopupMenuExtended const *);
53 : : } } } }
54 : :
55 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPopupMenuExtended > *) SAL_THROW(());
56 : :
57 : : #endif
|