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() = 0;
27 : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) = 0;
28 : virtual double SAL_CALL getHeight() = 0;
29 : virtual void SAL_CALL setHeight( double _height ) = 0;
30 : virtual double SAL_CALL getWidth() = 0;
31 : virtual void SAL_CALL setWidth( double _width ) = 0;
32 : virtual double SAL_CALL getLeft() = 0;
33 : virtual void SAL_CALL setLeft( double _left ) = 0;
34 : virtual double SAL_CALL getTop() = 0;
35 : virtual void SAL_CALL setTop( double _top ) = 0;
36 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XLineFormat > SAL_CALL getLine() = 0;
37 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XFillFormat > SAL_CALL getFill() = 0;
38 : virtual ::sal_Bool SAL_CALL getLockAspectRatio() = 0;
39 : virtual void SAL_CALL setLockAspectRatio( ::sal_Bool _lockaspectratio ) = 0;
40 : virtual ::sal_Bool SAL_CALL getLockAnchor() = 0;
41 : virtual void SAL_CALL setLockAnchor( ::sal_Bool _lockanchor ) = 0;
42 : virtual ::sal_Int32 SAL_CALL getRelativeHorizontalPosition() = 0;
43 : virtual void SAL_CALL setRelativeHorizontalPosition( ::sal_Int32 _relativehorizontalposition ) = 0;
44 : virtual ::sal_Int32 SAL_CALL getRelativeVerticalPosition() = 0;
45 : virtual void SAL_CALL setRelativeVerticalPosition( ::sal_Int32 _relativeverticalposition ) = 0;
46 :
47 : // Methods
48 : virtual ::com::sun::star::uno::Any SAL_CALL TextFrame() = 0;
49 : virtual ::com::sun::star::uno::Any SAL_CALL WrapFormat() = 0;
50 : virtual void SAL_CALL Select() = 0;
51 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XShape > SAL_CALL Group() = 0;
52 : virtual void SAL_CALL IncrementRotation( double Increment ) = 0;
53 : virtual void SAL_CALL IncrementLeft( double Increment ) = 0;
54 : virtual void SAL_CALL IncrementTop( double Increment ) = 0;
55 : virtual void SAL_CALL ZOrder( ::sal_Int32 ZOrderCmd ) = 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
|