Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_ANIMATIONS_XANIMATE_HDL
2 : : #define INCLUDED_COM_SUN_STAR_ANIMATIONS_XANIMATE_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/animations/XAnimationNode.hdl"
7 : : #include "com/sun/star/uno/RuntimeException.hdl"
8 : : #include "com/sun/star/animations/TimeFilterPair.hdl"
9 : : #include "com/sun/star/uno/Any.h"
10 : : #include "com/sun/star/uno/Reference.h"
11 : : #include "com/sun/star/uno/Sequence.h"
12 : : #include "cppu/macros.hxx"
13 : : #include "rtl/ustring.hxx"
14 : : #include "sal/types.h"
15 : :
16 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
17 : :
18 : : namespace com { namespace sun { namespace star { namespace animations {
19 : :
20 : 1680 : class SAL_NO_VTABLE XAnimate : public ::com::sun::star::animations::XAnimationNode
21 : : {
22 : : public:
23 : :
24 : : // Attributes
25 : : virtual ::com::sun::star::uno::Any SAL_CALL getTarget() throw (::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual void SAL_CALL setTarget( const ::com::sun::star::uno::Any& _target ) throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual ::sal_Int16 SAL_CALL getSubItem() throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual void SAL_CALL setSubItem( ::sal_Int16 _subitem ) throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual ::rtl::OUString SAL_CALL getAttributeName() throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual void SAL_CALL setAttributeName( const ::rtl::OUString& _attributename ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getValues() throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL setValues( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& _values ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Sequence< double > SAL_CALL getKeyTimes() throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL setKeyTimes( const ::com::sun::star::uno::Sequence< double >& _keytimes ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::sal_Int16 SAL_CALL getValueType() throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL setValueType( ::sal_Int16 _valuetype ) throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::sal_Int16 SAL_CALL getCalcMode() throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual void SAL_CALL setCalcMode( ::sal_Int16 _calcmode ) throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::sal_Bool SAL_CALL getAccumulate() throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual void SAL_CALL setAccumulate( ::sal_Bool _accumulate ) throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::sal_Int16 SAL_CALL getAdditive() throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual void SAL_CALL setAdditive( ::sal_Int16 _additive ) throw (::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::com::sun::star::uno::Any SAL_CALL getFrom() throw (::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual void SAL_CALL setFrom( const ::com::sun::star::uno::Any& _from ) throw (::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual ::com::sun::star::uno::Any SAL_CALL getTo() throw (::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual void SAL_CALL setTo( const ::com::sun::star::uno::Any& _to ) throw (::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual ::com::sun::star::uno::Any SAL_CALL getBy() throw (::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual void SAL_CALL setBy( const ::com::sun::star::uno::Any& _by ) throw (::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::animations::TimeFilterPair > SAL_CALL getTimeFilter() throw (::com::sun::star::uno::RuntimeException) = 0;
50 : : virtual void SAL_CALL setTimeFilter( const ::com::sun::star::uno::Sequence< ::com::sun::star::animations::TimeFilterPair >& _timefilter ) throw (::com::sun::star::uno::RuntimeException) = 0;
51 : : virtual ::rtl::OUString SAL_CALL getFormula() throw (::com::sun::star::uno::RuntimeException) = 0;
52 : : virtual void SAL_CALL setFormula( const ::rtl::OUString& _formula ) throw (::com::sun::star::uno::RuntimeException) = 0;
53 : :
54 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
55 : :
56 : : protected:
57 : 0 : ~XAnimate() throw () {} // avoid warnings about virtual members and non-virtual dtor
58 : : };
59 : :
60 : :
61 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::animations::XAnimate const *);
62 : : } } } }
63 : :
64 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimate > *) SAL_THROW(());
65 : :
66 : : #endif
|