Branch data 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/lang/IllegalArgumentException.hdl"
7 : : namespace com { namespace sun { namespace star { namespace report { class XSection; } } } }
8 : : #include "com/sun/star/beans/XPropertySet.hdl"
9 : : #include "com/sun/star/beans/PropertyVetoException.hdl"
10 : : #include "com/sun/star/beans/UnknownPropertyException.hdl"
11 : : #include "com/sun/star/uno/RuntimeException.hdl"
12 : : #include "com/sun/star/drawing/XShape.hdl"
13 : : #include "com/sun/star/container/XChild.hdl"
14 : : #include "com/sun/star/lang/XComponent.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 ::com::sun::star::util::XCloneable, public ::com::sun::star::container::XChild, public ::com::sun::star::lang::XComponent, public ::com::sun::star::drawing::XShape, public ::com::sun::star::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 (::com::sun::star::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 (::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 (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::sal_Int16 SAL_CALL getControlBorder() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual void SAL_CALL setControlBorder( ::sal_Int16 _controlborder ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::sal_Int32 SAL_CALL getControlBorderColor() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual void SAL_CALL setControlBorderColor( ::sal_Int32 _controlbordercolor ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual ::sal_Bool SAL_CALL getPrintRepeatedValues() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual void SAL_CALL setPrintRepeatedValues( ::sal_Bool _printrepeatedvalues ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getMasterFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual void SAL_CALL setMasterFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _masterfields ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getDetailFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
50 : : virtual void SAL_CALL setDetailFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _detailfields ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
51 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::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 ::com::sun::star::report::XReportComponent const *);
61 : : } } } }
62 : :
63 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportComponent > *) SAL_THROW(());
64 : :
65 : : #endif
|