Branch data 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/uno/RuntimeException.hdl"
7 : : #include "com/sun/star/container/NoSuchElementException.hdl"
8 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
9 : : namespace com { namespace sun { namespace star { namespace report { class XSection; } } } }
10 : : #include "com/sun/star/document/XViewDataSupplier.hdl"
11 : : #include "com/sun/star/document/XStorageBasedDocument.hdl"
12 : : namespace com { namespace sun { namespace star { namespace report { class XGroups; } } } }
13 : : namespace com { namespace sun { namespace star { namespace sdbc { class XConnection; } } } }
14 : : #include "com/sun/star/report/XFunctionsSupplier.hdl"
15 : : #include "com/sun/star/report/XReportComponent.hdl"
16 : : #include "com/sun/star/lang/DisposedException.hdl"
17 : : #include "com/sun/star/embed/XVisualObject.hdl"
18 : : #include "com/sun/star/util/XCloseable.hdl"
19 : : #include "com/sun/star/uno/Exception.hdl"
20 : : #include "com/sun/star/util/XModifiable2.hdl"
21 : : #include "com/sun/star/document/XDocumentSubStorageSupplier.hdl"
22 : : #include "com/sun/star/style/XStyleFamiliesSupplier.hdl"
23 : : #include "com/sun/star/ui/XUIConfigurationManagerSupplier.hdl"
24 : : namespace com { namespace sun { namespace star { namespace document { class XEventBroadcaster; } } } }
25 : : #include "com/sun/star/frame/XLoadable.hdl"
26 : : #include "com/sun/star/frame/XModel.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 ::com::sun::star::frame::XModel, public ::com::sun::star::frame::XLoadable, public ::com::sun::star::embed::XVisualObject, public ::com::sun::star::document::XStorageBasedDocument, public ::com::sun::star::document::XViewDataSupplier, public ::com::sun::star::util::XCloseable, public ::com::sun::star::ui::XUIConfigurationManagerSupplier, public ::com::sun::star::document::XDocumentSubStorageSupplier, public ::com::sun::star::style::XStyleFamiliesSupplier, public ::com::sun::star::util::XModifiable2, public ::com::sun::star::report::XReportComponent, public ::com::sun::star::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 (::com::sun::star::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 (::com::sun::star::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< ::com::sun::star::sdbc::XConnection > SAL_CALL getActiveConnection() throw (::com::sun::star::uno::RuntimeException) = 0;
61 : : virtual void SAL_CALL setActiveConnection( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _activeconnection ) throw (::com::sun::star::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< ::com::sun::star::report::XGroups > SAL_CALL getGroups() throw (::com::sun::star::uno::RuntimeException) = 0;
73 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getReportHeader() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
74 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getPageHeader() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
75 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getDetail() throw (::com::sun::star::uno::RuntimeException) = 0;
76 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getPageFooter() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
77 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getReportFooter() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
78 : :
79 : : // Methods
80 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventBroadcaster > SAL_CALL getEventBroadcaster( ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0;
81 : : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableMimeTypes( ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::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 ::com::sun::star::report::XReportDefinition const *);
91 : : } } } }
92 : :
93 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition > *) SAL_THROW(());
94 : :
95 : : #endif
|