Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_REPORT_XREPORTDEFINITION_HDL
2 : #define INCLUDED_COM_SUN_STAR_REPORT_XREPORTDEFINITION_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/container/NoSuchElementException.hdl"
7 : #include "com/sun/star/document/XDocumentSubStorageSupplier.hdl"
8 : namespace com { namespace sun { namespace star { namespace document { class XEventBroadcaster; } } } }
9 : #include "com/sun/star/document/XStorageBasedDocument.hdl"
10 : #include "com/sun/star/document/XViewDataSupplier.hdl"
11 : #include "com/sun/star/embed/XVisualObject.hdl"
12 : #include "com/sun/star/frame/XLoadable.hdl"
13 : #include "com/sun/star/frame/XModel.hdl"
14 : #include "com/sun/star/lang/DisposedException.hdl"
15 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
16 : #include "com/sun/star/report/XFunctionsSupplier.hdl"
17 : namespace com { namespace sun { namespace star { namespace report { class XGroups; } } } }
18 : #include "com/sun/star/report/XReportComponent.hdl"
19 : namespace com { namespace sun { namespace star { namespace report { class XSection; } } } }
20 : namespace com { namespace sun { namespace star { namespace sdbc { class XConnection; } } } }
21 : #include "com/sun/star/style/XStyleFamiliesSupplier.hdl"
22 : #include "com/sun/star/ui/XUIConfigurationManagerSupplier.hdl"
23 : #include "com/sun/star/uno/Exception.hdl"
24 : #include "com/sun/star/uno/RuntimeException.hdl"
25 : #include "com/sun/star/util/XCloseable.hdl"
26 : #include "com/sun/star/util/XModifiable2.hdl"
27 : #include "com/sun/star/uno/Reference.h"
28 : #include "com/sun/star/uno/Sequence.h"
29 : #include "cppu/macros.hxx"
30 : #include "rtl/ustring.hxx"
31 : #include "sal/types.h"
32 :
33 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
34 :
35 : namespace com { namespace sun { namespace star { namespace report {
36 :
37 0 : class SAL_NO_VTABLE XReportDefinition : public css::frame::XModel, public css::frame::XLoadable, public css::embed::XVisualObject, public css::document::XStorageBasedDocument, public css::document::XViewDataSupplier, public css::util::XCloseable, public css::ui::XUIConfigurationManagerSupplier, public css::document::XDocumentSubStorageSupplier, public css::style::XStyleFamiliesSupplier, public css::util::XModifiable2, public css::report::XReportComponent, public css::report::XFunctionsSupplier
38 : {
39 : public:
40 :
41 : // Attributes
42 : virtual ::rtl::OUString SAL_CALL getMimeType() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual void SAL_CALL setMimeType( const ::rtl::OUString& _mimetype ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual ::rtl::OUString SAL_CALL getCaption() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual void SAL_CALL setCaption( const ::rtl::OUString& _caption ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual ::sal_Int16 SAL_CALL getGroupKeepTogether() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual void SAL_CALL setGroupKeepTogether( ::sal_Int16 _groupkeeptogether ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual ::sal_Int16 SAL_CALL getPageHeaderOption() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual void SAL_CALL setPageHeaderOption( ::sal_Int16 _pageheaderoption ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
50 : virtual ::sal_Int16 SAL_CALL getPageFooterOption() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
51 : virtual void SAL_CALL setPageFooterOption( ::sal_Int16 _pagefooteroption ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
52 : virtual ::rtl::OUString SAL_CALL getCommand() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
53 : virtual void SAL_CALL setCommand( const ::rtl::OUString& _command ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
54 : virtual ::sal_Int32 SAL_CALL getCommandType() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
55 : virtual void SAL_CALL setCommandType( ::sal_Int32 _commandtype ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
56 : virtual ::rtl::OUString SAL_CALL getFilter() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
57 : virtual void SAL_CALL setFilter( const ::rtl::OUString& _filter ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
58 : virtual ::sal_Bool SAL_CALL getEscapeProcessing() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
59 : virtual void SAL_CALL setEscapeProcessing( ::sal_Bool _escapeprocessing ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
60 : virtual ::com::sun::star::uno::Reference< css::sdbc::XConnection > SAL_CALL getActiveConnection() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
61 : virtual void SAL_CALL setActiveConnection( const ::com::sun::star::uno::Reference< css::sdbc::XConnection >& _activeconnection ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
62 : virtual ::rtl::OUString SAL_CALL getDataSourceName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
63 : virtual void SAL_CALL setDataSourceName( const ::rtl::OUString& _datasourcename ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
64 : virtual ::sal_Bool SAL_CALL getReportHeaderOn() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
65 : virtual void SAL_CALL setReportHeaderOn( ::sal_Bool _reportheaderon ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
66 : virtual ::sal_Bool SAL_CALL getReportFooterOn() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
67 : virtual void SAL_CALL setReportFooterOn( ::sal_Bool _reportfooteron ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
68 : virtual ::sal_Bool SAL_CALL getPageHeaderOn() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
69 : virtual void SAL_CALL setPageHeaderOn( ::sal_Bool _pageheaderon ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
70 : virtual ::sal_Bool SAL_CALL getPageFooterOn() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
71 : virtual void SAL_CALL setPageFooterOn( ::sal_Bool _pagefooteron ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
72 : virtual ::com::sun::star::uno::Reference< css::report::XGroups > SAL_CALL getGroups() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
73 : virtual ::com::sun::star::uno::Reference< css::report::XSection > SAL_CALL getReportHeader() /* throw (css::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) */ = 0;
74 : virtual ::com::sun::star::uno::Reference< css::report::XSection > SAL_CALL getPageHeader() /* throw (css::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) */ = 0;
75 : virtual ::com::sun::star::uno::Reference< css::report::XSection > SAL_CALL getDetail() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
76 : virtual ::com::sun::star::uno::Reference< css::report::XSection > SAL_CALL getPageFooter() /* throw (css::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) */ = 0;
77 : virtual ::com::sun::star::uno::Reference< css::report::XSection > SAL_CALL getReportFooter() /* throw (css::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) */ = 0;
78 :
79 : // Methods
80 : virtual ::com::sun::star::uno::Reference< css::document::XEventBroadcaster > SAL_CALL getEventBroadcaster() /* throw (css::lang::DisposedException, css::uno::Exception, ::com::sun::star::uno::RuntimeException) */ = 0;
81 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableMimeTypes() /* throw (css::lang::DisposedException, css::uno::Exception, ::com::sun::star::uno::RuntimeException) */ = 0;
82 :
83 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
84 :
85 : protected:
86 0 : ~XReportDefinition() throw () {} // avoid warnings about virtual members and non-virtual dtor
87 : };
88 :
89 :
90 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::report::XReportDefinition const *);
91 : } } } }
92 :
93 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::report::XReportDefinition > *) SAL_THROW(());
94 :
95 : #endif
|