Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_REPORT_XREPORTCOMPONENT_HDL
2 : #define INCLUDED_COM_SUN_STAR_REPORT_XREPORTCOMPONENT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/PropertyVetoException.hdl"
7 : #include "com/sun/star/beans/UnknownPropertyException.hdl"
8 : #include "com/sun/star/beans/XPropertySet.hdl"
9 : #include "com/sun/star/container/XChild.hdl"
10 : #include "com/sun/star/drawing/XShape.hdl"
11 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
12 : #include "com/sun/star/lang/XComponent.hdl"
13 : namespace com { namespace sun { namespace star { namespace report { class XSection; } } } }
14 : #include "com/sun/star/uno/RuntimeException.hdl"
15 : #include "com/sun/star/util/XCloneable.hdl"
16 : #include "com/sun/star/uno/Reference.h"
17 : #include "com/sun/star/uno/Sequence.h"
18 : #include "cppu/macros.hxx"
19 : #include "rtl/ustring.hxx"
20 : #include "sal/types.h"
21 :
22 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
23 :
24 : namespace com { namespace sun { namespace star { namespace report {
25 :
26 0 : class SAL_NO_VTABLE XReportComponent : public css::util::XCloneable, public css::container::XChild, public css::lang::XComponent, public css::drawing::XShape, public css::beans::XPropertySet
27 : {
28 : public:
29 :
30 : // Attributes
31 : virtual ::rtl::OUString SAL_CALL getName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) /* throw (css::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::sal_Int32 SAL_CALL getHeight() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL setHeight( ::sal_Int32 _height ) /* throw (css::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::sal_Int32 SAL_CALL getPositionX() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual void SAL_CALL setPositionX( ::sal_Int32 _positionx ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::sal_Int32 SAL_CALL getPositionY() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual void SAL_CALL setPositionY( ::sal_Int32 _positiony ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::sal_Int32 SAL_CALL getWidth() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual void SAL_CALL setWidth( ::sal_Int32 _width ) /* throw (css::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual ::sal_Int16 SAL_CALL getControlBorder() /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual void SAL_CALL setControlBorder( ::sal_Int16 _controlborder ) /* throw (css::lang::IllegalArgumentException, css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual ::sal_Int32 SAL_CALL getControlBorderColor() /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual void SAL_CALL setControlBorderColor( ::sal_Int32 _controlbordercolor ) /* throw (css::lang::IllegalArgumentException, css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual ::sal_Bool SAL_CALL getPrintRepeatedValues() /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual void SAL_CALL setPrintRepeatedValues( ::sal_Bool _printrepeatedvalues ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getMasterFields() /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual void SAL_CALL setMasterFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _masterfields ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getDetailFields() /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
50 : virtual void SAL_CALL setDetailFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _detailfields ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
51 : virtual ::com::sun::star::uno::Reference< css::report::XSection > SAL_CALL getSection() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
52 :
53 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
54 :
55 : protected:
56 0 : ~XReportComponent() throw () {} // avoid warnings about virtual members and non-virtual dtor
57 : };
58 :
59 :
60 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::report::XReportComponent const *);
61 : } } } }
62 :
63 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::report::XReportComponent > *) SAL_THROW(());
64 :
65 : #endif
|