Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_MSFORMS_XSHAPERANGE_HDL
2 : : #define INCLUDED_OOO_VBA_MSFORMS_XSHAPERANGE_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : namespace ooo { namespace vba { namespace msforms { class XLineFormat; } } }
8 : : namespace ooo { namespace vba { namespace msforms { class XShape; } } }
9 : : #include "ooo/vba/XCollection.hdl"
10 : : namespace ooo { namespace vba { namespace msforms { class XFillFormat; } } }
11 : : #include "com/sun/star/uno/Any.h"
12 : : #include "com/sun/star/uno/Reference.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 ooo { namespace vba { namespace msforms {
20 : :
21 : 0 : class SAL_NO_VTABLE XShapeRange : public ::ooo::vba::XCollection
22 : : {
23 : : public:
24 : :
25 : : // Attributes
26 : : virtual ::rtl::OUString SAL_CALL getName() throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual double SAL_CALL getHeight() throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setHeight( double _height ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual double SAL_CALL getWidth() throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setWidth( double _width ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual double SAL_CALL getLeft() throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setLeft( double _left ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual double SAL_CALL getTop() throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setTop( double _top ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XLineFormat > SAL_CALL getLine() throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XFillFormat > SAL_CALL getFill() throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Bool SAL_CALL getLockAspectRatio() throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual void SAL_CALL setLockAspectRatio( ::sal_Bool _lockaspectratio ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::sal_Bool SAL_CALL getLockAnchor() throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL setLockAnchor( ::sal_Bool _lockanchor ) throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::sal_Int32 SAL_CALL getRelativeHorizontalPosition() throw (::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual void SAL_CALL setRelativeHorizontalPosition( ::sal_Int32 _relativehorizontalposition ) throw (::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::sal_Int32 SAL_CALL getRelativeVerticalPosition() throw (::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual void SAL_CALL setRelativeVerticalPosition( ::sal_Int32 _relativeverticalposition ) throw (::com::sun::star::uno::RuntimeException) = 0;
46 : :
47 : : // Methods
48 : : virtual ::com::sun::star::uno::Any SAL_CALL TextFrame( ) throw (::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual ::com::sun::star::uno::Any SAL_CALL WrapFormat( ) throw (::com::sun::star::uno::RuntimeException) = 0;
50 : : virtual void SAL_CALL Select( ) throw (::com::sun::star::uno::RuntimeException) = 0;
51 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XShape > SAL_CALL Group( ) throw (::com::sun::star::uno::RuntimeException) = 0;
52 : : virtual void SAL_CALL IncrementRotation( double Increment ) throw (::com::sun::star::uno::RuntimeException) = 0;
53 : : virtual void SAL_CALL IncrementLeft( double Increment ) throw (::com::sun::star::uno::RuntimeException) = 0;
54 : : virtual void SAL_CALL IncrementTop( double Increment ) throw (::com::sun::star::uno::RuntimeException) = 0;
55 : : virtual void SAL_CALL ZOrder( ::sal_Int32 ZOrderCmd ) throw (::com::sun::star::uno::RuntimeException) = 0;
56 : :
57 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
58 : :
59 : : protected:
60 : 0 : ~XShapeRange() throw () {} // avoid warnings about virtual members and non-virtual dtor
61 : : };
62 : :
63 : :
64 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::msforms::XShapeRange const *);
65 : : } } }
66 : :
67 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XShapeRange > *) SAL_THROW(());
68 : :
69 : : #endif
|